Windows.UI.Xaml
Windows.UI.Xaml
Windows.UI.Xaml
Windows.UI.Xaml
Namespace
Provides general framework APIs and application model APIs, and a variety of support classes that are commonly used by many different feature areas.
Classes
| AdaptiveTrigger AdaptiveTrigger AdaptiveTrigger AdaptiveTrigger |
Represents a declarative rule that applies visual states based on window properties. |
| Application Application Application Application |
Encapsulates the app and its available services. |
| ApplicationInitializationCallbackParams ApplicationInitializationCallbackParams ApplicationInitializationCallbackParams ApplicationInitializationCallbackParams |
A class that developers should derive from in order to pass information for a custom initialization sequence, in cases where both an Application subclass is present and the entry point Start call is adjusted to pass the information. |
| BindingFailedEventArgs BindingFailedEventArgs BindingFailedEventArgs BindingFailedEventArgs |
Provides event data for the DebugSettings.BindingFailed event. |
| BringIntoViewOptions BringIntoViewOptions BringIntoViewOptions BringIntoViewOptions |
Represents the options that can be applied when an element is brought into view. |
| CornerRadiusHelper CornerRadiusHelper CornerRadiusHelper CornerRadiusHelper |
Provides basic utility methods for processing CornerRadius values. C# and Microsoft Visual Basic code should use methods of CornerRadius instead. |
| DataContextChangedEventArgs DataContextChangedEventArgs DataContextChangedEventArgs DataContextChangedEventArgs |
Provides data for the DataContextChanged event. |
| DataTemplate DataTemplate DataTemplate DataTemplate |
Describes the visual structure of a data object. Use data binding for specific elements in the template that display the data values. |
| DataTemplateKey DataTemplateKey DataTemplateKey DataTemplateKey |
Represents the resource key for the DataTemplate class. |
| DebugSettings DebugSettings DebugSettings DebugSettings |
Declares how certain aspects of the app behave when it is run in a debug environment |
| DependencyObject DependencyObject DependencyObject DependencyObject |
Represents an object that participates in the dependency property system. DependencyObject is the immediate base class of many important UI-related classes, such as UIElement, Geometry, FrameworkTemplate, Style, and ResourceDictionary. For more info on how DependencyObject supports dependency properties, see Dependency properties overview. |
| DependencyObjectCollection DependencyObjectCollection DependencyObjectCollection DependencyObjectCollection |
Implements a practical collection class that can contain DependencyObject items. |
| DependencyProperty DependencyProperty DependencyProperty DependencyProperty |
Represents a dependency property that is registered with the dependency property system. Dependency properties provide support for value expressions, data binding, animation, and property change notification. For more info on how DependencyProperty values serve as identifiers for dependency properties, see Dependency properties overview. |
| DependencyPropertyChangedEventArgs DependencyPropertyChangedEventArgs DependencyPropertyChangedEventArgs DependencyPropertyChangedEventArgs |
Provides data for a PropertyChangedCallback implementation that is invoked when a dependency property changes its value. Also provides event data for the Control.IsEnabledChanged event and any other event that uses the DependencyPropertyChangedEventHandler delegate. |
| DispatcherTimer DispatcherTimer DispatcherTimer DispatcherTimer |
Provides a timer that is integrated into the Dispatcher queue, which is processed at a specified interval of time and at a specified priority. |
| DragEventArgs DragEventArgs DragEventArgs DragEventArgs |
Provides data for drag-and-drop events. |
| DragOperationDeferral DragOperationDeferral DragOperationDeferral DragOperationDeferral |
Enables you to drag-and-drop content with a target app asynchronously. |
| DragStartingEventArgs DragStartingEventArgs DragStartingEventArgs DragStartingEventArgs |
Provides event data for the DragStarting event. |
| DragUI DragUI DragUI DragUI |
Provides the visual representation of the data being dragged at the start of a drag-and-drop operation. |
| DragUIOverride DragUIOverride DragUIOverride DragUIOverride |
Provides the visual representation of the data being dragged during a drag-and-drop operation, including feedback from the drop target. |
| DropCompletedEventArgs DropCompletedEventArgs DropCompletedEventArgs DropCompletedEventArgs |
Provides event data for the DropCompleted event. |
| DurationHelper DurationHelper DurationHelper DurationHelper |
Provides basic utility methods for processing Duration values. C# and Microsoft Visual Basic code should use methods of Duration instead. |
| ElementSoundPlayer ElementSoundPlayer ElementSoundPlayer ElementSoundPlayer |
Represents a player for XAML control sounds. |
| EventTrigger EventTrigger EventTrigger EventTrigger |
Represents a trigger that applies a set of actions (animation storyboards) in response to an event. Not commonly used. See Remarks. |
| ExceptionRoutedEventArgs ExceptionRoutedEventArgs ExceptionRoutedEventArgs ExceptionRoutedEventArgs |
Provides event data for exceptions that are raised as events by asynchronous operations, such as ImageFailed. |
| FrameworkElement FrameworkElement FrameworkElement FrameworkElement |
[Contains prerelease APIs.] |
| FrameworkTemplate FrameworkTemplate FrameworkTemplate FrameworkTemplate |
Creates an element tree of elements. FrameworkTemplate is a base class for classes that have specific templating behavior, including ControlTemplate and DataTemplate. |
| FrameworkView FrameworkView FrameworkView FrameworkView |
Represents the UI window of an application. |
| FrameworkViewSource FrameworkViewSource FrameworkViewSource FrameworkViewSource |
Creates views, specifically FrameworkView instances. This is infrastructure and does not need to be accessed in most app scenarios. |
| GridLengthHelper GridLengthHelper GridLengthHelper GridLengthHelper |
Provides helper methods to evaluate or set GridLength values. C# and Microsoft Visual Basic code should use methods of GridLength instead. |
| MediaFailedRoutedEventArgs MediaFailedRoutedEventArgs MediaFailedRoutedEventArgs MediaFailedRoutedEventArgs |
Provides event data for media failed events. |
| PointHelper PointHelper PointHelper PointHelper |
Provides helper methods to set Point values. C# and Microsoft Visual Basic code should use methods of Point instead. |
| PropertyMetadata PropertyMetadata PropertyMetadata PropertyMetadata |
Defines behavior aspects of a dependency property, including conditions it was registered with. For more info on how PropertyMetadata is used for dependency properties, see Custom dependency properties. |
| PropertyPath PropertyPath PropertyPath PropertyPath |
Implements a data structure for describing a property as a path below another property, or below an owning type. Property paths are used in data binding to objects. |
| RectHelper RectHelper RectHelper RectHelper |
Provides helper methods to evaluate or set Rect values. C# and Microsoft Visual Basic code should use members of Rect instead. |
| ResourceDictionary ResourceDictionary ResourceDictionary ResourceDictionary |
Defines a repository for XAML resources, such as styles, that your app uses. You define the resources in XAML and can then retrieve them in XAML using the {StaticResource} markup extension and {ThemeResource} markup extension s. You can also access resources with code, but that is less common. |
| RoutedEvent RoutedEvent RoutedEvent RoutedEvent |
Represents a routed event to the Windows Runtime event system. |
| RoutedEventArgs RoutedEventArgs RoutedEventArgs RoutedEventArgs |
Contains state information and event data associated with a routed event. |
| Setter Setter Setter Setter |
Applies a value to a property in a Style or a VisualState. |
| SetterBase SetterBase SetterBase SetterBase |
Represents the base class for value setters. |
| SetterBaseCollection SetterBaseCollection SetterBaseCollection SetterBaseCollection |
Represents a collection of objects that inherit from SetterBase. |
| SizeChangedEventArgs SizeChangedEventArgs SizeChangedEventArgs SizeChangedEventArgs |
Provides data related to the FrameworkElement.SizeChanged event. |
| SizeHelper SizeHelper SizeHelper SizeHelper |
Provides helper methods to evaluate or set Size values. C# and Microsoft Visual Basic code should use members of Size instead. |
| StateTrigger StateTrigger StateTrigger StateTrigger |
Represents a trigger that applies visual states conditionally. |
| StateTriggerBase StateTriggerBase StateTriggerBase StateTriggerBase |
Represents the base class for state triggers. |
| Style Style Style Style |
Contains property setters that can be shared between instances of a type. A Style is usually declared in a resources collection so that it can be shared and used for applying control templates and other styles. |
| StyleTypedPropertyAttribute StyleTypedPropertyAttribute StyleTypedPropertyAttribute StyleTypedPropertyAttribute |
Represents an attribute that is applied to the class definition and determines the TargetTypes of the properties that are of type Style. |
| TargetPropertyPath TargetPropertyPath TargetPropertyPath TargetPropertyPath |
Represents the path to a property on a target element. |
| TemplatePartAttribute TemplatePartAttribute TemplatePartAttribute TemplatePartAttribute |
Represents an attribute that is applied to the class definition to identify the types of the named parts that are used for templating. |
| TemplateVisualStateAttribute TemplateVisualStateAttribute TemplateVisualStateAttribute TemplateVisualStateAttribute |
Specifies that a control can be in a certain state and that a VisualState is expected in the control's ControlTemplate. |
| ThicknessHelper ThicknessHelper ThicknessHelper ThicknessHelper |
Provides helper methods to evaluate or set Thickness values. C# and Microsoft Visual Basic code should use members of Thickness instead. |
| TriggerAction TriggerAction TriggerAction TriggerAction |
Serves as the base class for BeginStoryboard. Not commonly used. See Remarks. |
| TriggerActionCollection TriggerActionCollection TriggerActionCollection TriggerActionCollection |
Represents a collection of BeginStoryboard objects. |
| TriggerBase TriggerBase TriggerBase TriggerBase |
Serves as the base class for EventTrigger. Not commonly used. See Remarks. |
| TriggerCollection TriggerCollection TriggerCollection TriggerCollection |
Represents a collection of EventTrigger objects. |
| UIElement UIElement UIElement UIElement |
[Contains prerelease APIs.] |
| UnhandledExceptionEventArgs UnhandledExceptionEventArgs UnhandledExceptionEventArgs UnhandledExceptionEventArgs |
Provides data for the UnhandledException event. |
| VisualState VisualState VisualState VisualState |
Represents the visual appearance of a UI element when it is in a specific state. Visual states use Setters or a Storyboard to set UI properties within pages or control templates where the VisualState is defined. |
| VisualStateChangedEventArgs VisualStateChangedEventArgs VisualStateChangedEventArgs VisualStateChangedEventArgs |
Provides data for the CurrentStateChanging and CurrentStateChanged events. |
| VisualStateGroup VisualStateGroup VisualStateGroup VisualStateGroup |
Contains mutually exclusive VisualState objects and VisualTransition objects that are used to go from one state to another. |
| VisualStateManager VisualStateManager VisualStateManager VisualStateManager |
Manages visual states and the logic for transitions between visual states for controls. Also provides the attached property support for VisualStateManager.VisualStateGroups, which is how you define visual states in XAML for a control template. |
| VisualTransition VisualTransition VisualTransition VisualTransition |
Represents the visual behavior that occurs when the control transitions from one visual state to another. |
| Window Window Window Window |
Represents an application window. |
| WindowCreatedEventArgs WindowCreatedEventArgs WindowCreatedEventArgs WindowCreatedEventArgs |
Provides data for the OnWindowCreated method. |
Structs
| CornerRadius CornerRadius CornerRadius CornerRadius |
Describes the characteristics of a rounded corner, such as can be applied to a Border. |
| Duration Duration Duration Duration |
Represents the duration of time that a Timeline is active, or more generally represents a duration of time that also supports two special values Automatic and Forever. |
| GridLength GridLength GridLength GridLength |
Represents a measurement for control logic that explicitly supports Star ( |
| Thickness Thickness Thickness Thickness |
Describes the thickness of a frame around a rectangle. Four Double values describe the Left, Top, Right, and Bottom sides of the rectangle, respectively. |
Interfaces
| IDataTemplateExtension IDataTemplateExtension IDataTemplateExtension IDataTemplateExtension |
Defines helper methods for phased rendering of a data template. |
Enums
| ApplicationHighContrastAdjustment ApplicationHighContrastAdjustment ApplicationHighContrastAdjustment ApplicationHighContrastAdjustment |
Defines constants that specify whether the framework automatically adjusts visual properties for the app when high contrast themes are enabled. |
| ApplicationRequiresPointerMode ApplicationRequiresPointerMode ApplicationRequiresPointerMode ApplicationRequiresPointerMode |
Specifies the interaction experiences for non-pointer devices such as an Xbox controller or remote control. |
| ApplicationTheme ApplicationTheme ApplicationTheme ApplicationTheme |
Declares the theme preference for an app. |
| AutomationTextAttributesEnum AutomationTextAttributesEnum AutomationTextAttributesEnum AutomationTextAttributesEnum |
Defines constants that identify text attributes of a Microsoft UI Automation text range. |
| DurationType DurationType DurationType DurationType |
Declares whether a Duration has a special value of Automatic or Forever, or has valid information in its TimeSpan component. |
| ElementHighContrastAdjustment ElementHighContrastAdjustment ElementHighContrastAdjustment ElementHighContrastAdjustment |
Defines constants that specify whether the framework automatically adjusts visual properties for an element when high contrast themes are enabled. |
| ElementSoundKind ElementSoundKind ElementSoundKind ElementSoundKind |
Defines constants that specify the sound played by the ElementSoundPlayer.Play method. |
| ElementSoundMode ElementSoundMode ElementSoundMode ElementSoundMode |
Defines constants that specify a control's preference for whether sounds are played. |
| ElementSoundPlayerState ElementSoundPlayerState ElementSoundPlayerState ElementSoundPlayerState |
Defines constants that specify whether XAML controls play sounds. |
| ElementTheme ElementTheme ElementTheme ElementTheme |
Specifies a UI theme that should be used for individual UIElement parts of an app UI. |
| FlowDirection FlowDirection FlowDirection FlowDirection |
Defines constants that specify the content flow direction for text and UI elements. |
| FocusState FocusState FocusState FocusState |
Describes how an element obtained focus. |
| FocusVisualKind FocusVisualKind FocusVisualKind FocusVisualKind |
Specifies the type of visual feedback that an app can use to indicate the UI element with focus. |
| FontCapitals FontCapitals FontCapitals FontCapitals |
Describes the capital letter style value for the Typography.Capitals attached property. |
| FontEastAsianLanguage FontEastAsianLanguage FontEastAsianLanguage FontEastAsianLanguage |
Provides a mechanism for selecting font-specific versions of glyphs for a specified East Asian writing system or language. |
| FontEastAsianWidths FontEastAsianWidths FontEastAsianWidths FontEastAsianWidths |
Provides a mechanism for selecting glyphs of different width styles. |
| FontFraction FontFraction FontFraction FontFraction |
Describes a fraction style value for the Typography.Fraction attached property. |
| FontNumeralAlignment FontNumeralAlignment FontNumeralAlignment FontNumeralAlignment |
Describes the numeral alignment value for the Typography.NumeralAlignment attached property. |
| FontNumeralStyle FontNumeralStyle FontNumeralStyle FontNumeralStyle |
Describes a numeral style value for the Typography.NumeralStyle attached property. |
| FontVariants FontVariants FontVariants FontVariants |
Describes a font variant value for the Typography.Variants attached property. |
| GridUnitType GridUnitType GridUnitType GridUnitType |
Describes the kind of value that a GridLength object is holding. |
| HorizontalAlignment HorizontalAlignment HorizontalAlignment HorizontalAlignment |
Indicates where an element should be displayed on the horizontal axis relative to the allocated layout slot of the parent element. |
| LineStackingStrategy LineStackingStrategy LineStackingStrategy LineStackingStrategy |
Describes the mechanism by which a line box is determined for each line. |
| OpticalMarginAlignment OpticalMarginAlignment OpticalMarginAlignment OpticalMarginAlignment |
Specifies how side bearing values in per-character typography are handled when aligning to a text container boundary. |
| TextAlignment TextAlignment TextAlignment TextAlignment |
[Contains prerelease APIs.] |
| TextLineBounds TextLineBounds TextLineBounds TextLineBounds |
Influences how a line box height is calculated |
| TextReadingOrder TextReadingOrder TextReadingOrder TextReadingOrder |
Provides a value for TextReadingOrder properties. |
| TextTrimming TextTrimming TextTrimming TextTrimming |
Describes how text is trimmed when it overflows the edge of its containing box. |
| TextWrapping TextWrapping TextWrapping TextWrapping |
Specifies whether text wraps when it reaches the edge of its container. |
| VerticalAlignment VerticalAlignment VerticalAlignment VerticalAlignment |
Describes how a child element is vertically positioned or stretched within a parent's layout slot. |
| Visibility Visibility Visibility Visibility |
Specifies the display state of an element. |