AppBar/AppBarTemplateSettings.cs

uno · src/Uno.UI/UI/Xaml/Controls/AppBar/AppBarTemplateSettings.cs · csharp · Apache-2.0
ui, tag:embed-classified

Dependency properties for AppBar template settings, controlling layout and animation.

// Source: https://github.com/unoplatform/uno | License: Apache-2.0
// Provided via justclaw.it.com; keep this notice with the code.
using Windows.Foundation;
using Microsoft.UI.Xaml;
using Uno.UI.Helpers.Boxes;

namespace Microsoft.UI.Xaml.Controls.Primitives
{
	public partial class AppBarTemplateSettings : DependencyObject
	{
		internal AppBarTemplateSettings()
		{

		}
		public Rect ClipRect
		{
			get => (Rect)GetValue(ClipRectProperty);
			internal set => SetValue(ClipRectProperty, value);
		}

		internal static DependencyProperty ClipRectProperty { get; } =
			DependencyProperty.Register(nameof(ClipRect), typeof(Rect), typeof(AppBarTemplateSettings), new FrameworkPropertyMetadata(new Rect()));

		public Thickness CompactRootMargin
		{
			get => (Thickness)GetValue(CompactRootMarginP

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key