Condividi tramite


InertiaRotationBehavior Classe

Definizione

Controlla la decelerazione di una modifica di rotazione durante l'inerzia.

public ref class InertiaRotationBehavior 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 InertiaRotationBehavior final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class InertiaRotationBehavior 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 InertiaRotationBehavior
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class InertiaRotationBehavior
Public NotInheritable Class InertiaRotationBehavior
Ereditarietà
Object Platform::Object IInspectable InertiaRotationBehavior
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)

Proprietà

DesiredDeceleration

Ottiene o imposta la frequenza con cui la rotazione rallenta in gradi per millisecondo quadrato.

DesiredRotation

Ottiene o imposta la rotazione, in gradi, alla fine del movimento inerziale.

Si applica a