InertiaExpansionBehavior Class

Definition

Controls the deceleration of a resizing manipulation during inertia.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.InertiaExpansionBehavior.

public ref class InertiaExpansionBehavior sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class InertiaExpansionBehavior final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class InertiaExpansionBehavior final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class InertiaExpansionBehavior
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class InertiaExpansionBehavior
Public NotInheritable Class InertiaExpansionBehavior
Inheritance
InertiaExpansionBehavior
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

DesiredDeceleration

Gets or sets the rate that resizing slows.

Equivalent WinUI property: Microsoft.UI.Xaml.Input.InertiaExpansionBehavior.DesiredDeceleration.

DesiredExpansion

Gets or sets the amount the element resizes at the end of inertia.

Equivalent WinUI property: Microsoft.UI.Xaml.Input.InertiaExpansionBehavior.DesiredExpansion.

Applies to