Udostępnij za pośrednictwem


UISettingsMessageDurationChangedEventArgs Class

Definition

Contains event data for the MessageDurationChanged event.

public ref class UISettingsMessageDurationChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class UISettingsMessageDurationChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class UISettingsMessageDurationChangedEventArgs
Public NotInheritable Class UISettingsMessageDurationChangedEventArgs
Inheritance
Object Platform::Object IInspectable UISettingsMessageDurationChangedEventArgs
Attributes

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Remarks

These animations can be set by the user through the Accessibility visual effects settings (Settings -> Accessibility -> Visual effects).

The settings include persistent scrollbars, transparency effects, animation effects, and notification duration.

Screenshot of the Accessibility Visual effects settings dialog.

Applies to

See also