Udostępnij za pośrednictwem


CommandBarFlyoutCommandBarTemplateSettings Class

Definition

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a CommandBarFlyout control. Not intended for general use.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public ref class CommandBarFlyoutCommandBarTemplateSettings sealed : DependencyObject
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CommandBarFlyoutCommandBarTemplateSettings final : DependencyObject
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CommandBarFlyoutCommandBarTemplateSettings : DependencyObject
Public NotInheritable Class CommandBarFlyoutCommandBarTemplateSettings
Inherits DependencyObject
Inheritance
Object Platform::Object IInspectable DependencyObject CommandBarFlyoutCommandBarTemplateSettings
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Properties

CloseAnimationEndPosition

Gets the end position for the close animation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.CloseAnimationEndPosition (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ContentClipRect

Gets the rectangle used to clip the content.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.ContentClipRect (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

CurrentWidth

Gets the current width of the control.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.CurrentWidth (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Dispatcher

Gets the CoreDispatcher that this object is associated with. The CoreDispatcher represents a facility that can access the DependencyObject on the UI thread even if the code is initiated by a non-UI thread.

(Inherited from DependencyObject)
ExpandDownAnimationEndPosition

Gets the end position for the expand down animation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.ExpandDownAnimationEndPosition (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ExpandDownAnimationHoldPosition

Gets the hold position for the expand down animation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.ExpandDownAnimationHoldPosition (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ExpandDownAnimationStartPosition

Gets the start position for the expand down animation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.ExpandDownAnimationStartPosition (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ExpandDownOverflowVerticalPosition

Gets the vertical position of the overflow when expanded down.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.ExpandDownOverflowVerticalPosition (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ExpandedWidth

Gets the width of the control when expanded.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.ExpandedWidth (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ExpandUpAnimationEndPosition

Gets the end position for the expand up animation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.ExpandUpAnimationEndPosition (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ExpandUpAnimationHoldPosition

Gets the hold position for the expand up animation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.ExpandUpAnimationHoldPosition (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ExpandUpAnimationStartPosition

Gets the start position for the expand up animation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.ExpandUpAnimationStartPosition (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ExpandUpOverflowVerticalPosition

Gets the vertical position of the overflow when expanded up.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.ExpandUpOverflowVerticalPosition (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

OpenAnimationEndPosition

Gets the end position for the open animation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.OpenAnimationEndPosition (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

OpenAnimationStartPosition

Gets the start position for the open animation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.OpenAnimationStartPosition (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

OverflowContentClipRect

Gets the rectangle used to clip the overflow content.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.OverflowContentClipRect (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

WidthExpansionAnimationEndPosition

Gets the end position for the width expansion animation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.WidthExpansionAnimationEndPosition (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

WidthExpansionAnimationStartPosition

Gets the start position for the width expansion animation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.WidthExpansionAnimationStartPosition (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

WidthExpansionDelta

Gets the amount of change for the width expansion.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.WidthExpansionDelta (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

WidthExpansionMoreButtonAnimationEndPosition

Gets the end position for the "more" button width expansion animation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.WidthExpansionMoreButtonAnimationEndPosition (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

WidthExpansionMoreButtonAnimationStartPosition

Gets the start position for the "more" button width expansion animation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.WidthExpansionMoreButtonAnimationStartPosition (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Methods

ClearValue(DependencyProperty)

Clears the local value of a dependency property.

(Inherited from DependencyObject)
GetAnimationBaseValue(DependencyProperty)

Returns any base value established for a dependency property, which would apply in cases where an animation is not active.

(Inherited from DependencyObject)
GetValue(DependencyProperty)

Returns the current effective value of a dependency property from a DependencyObject.

(Inherited from DependencyObject)
ReadLocalValue(DependencyProperty)

Returns the local value of a dependency property, if a local value is set.

(Inherited from DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback)

Registers a notification function for listening to changes to a specific DependencyProperty on this DependencyObject instance.

(Inherited from DependencyObject)
SetValue(DependencyProperty, Object)

Sets the local value of a dependency property on a DependencyObject.

(Inherited from DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty, Int64)

Cancels a change notification that was previously registered by calling RegisterPropertyChangedCallback.

(Inherited from DependencyObject)

Applies to