[This documentation is preliminary and is subject to change.]
Provides general framework APIs and application model APIs, and a variety of support classes that are commonly used by many different feature areas.
Members
The Windows.UI.Xaml namespace has these types of members:
Attributes
The Windows.UI.Xaml namespace has these attributes.
| Attribute | Description |
|---|---|
| StyleTypedPropertyAttribute | Represents an attribute that is applied to the class definition and determines the TargetTypes of the properties that are of type Style. |
| 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 | Specifies that a control can be in a certain state and that a VisualState is expected in the control's ControlTemplate. |
Classes
The Windows.UI.Xaml namespace has these classes.
| Class | Description |
|---|---|
| Application | Encapsulates the app and its available services. |
| 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 | Provides event data for the DebugSettings.BindingFailed event. |
| CornerRadiusHelper | Provides basic utility methods for processing CornerRadius values. C# and Microsoft Visual Basic code should use methods of CornerRadius instead. |
| DataTemplate | Describes the visual structure of a data object. |
| DataTemplateKey | Represents the resource key for the DataTemplate class. |
| DebugSettings | Declares how certain aspects of the app behave when it is run in a debug environment |
| 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. |
| 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. |
| DependencyPropertyChangedEventArgs | Provides data for a PropertyChangedCallback implementation. |
| 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. One scenario for this is to run code on the UI thread. |
| DragEventArgs | Provides data for drag-and-drop events. |
| DurationHelper | Provides basic utility methods for processing Duration values. C# and Microsoft Visual Basic code should use methods of Duration instead. |
| EventTrigger | Represents a trigger that applies a set of actions (animation storyboards) in response to an event. |
| ExceptionRoutedEventArgs | Provides event data for exceptions that are raised as events by asynchronous operations, such as MediaFailed or ImageFailed. |
| FrameworkElement | Provides a framework of common APIs for objects that participate in UI and programmatic layout. FrameworkElement also defines APIs related to data binding, object tree, and object lifetime feature areas. |
| FrameworkTemplate | Creates an element tree of elements. |
| FrameworkView | Represents the UI window of an application. |
| FrameworkViewSource | Creates views, specifically FrameworkView instances. |
| GridLengthHelper | Provides helper methods to evaluate or set GridLength values. C# and Microsoft Visual Basic code should use methods of GridLength instead. |
| MediaFailedRoutedEventArgs | Provides event data for media failed events. |
| PointHelper | Provides helper methods to set Point values. C# and Microsoft Visual Basic code should use methods of Point instead. |
| PropertyMetadata | Defines behavior aspects of a dependency property, including conditions it was registered with. |
| 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 | Provides helper methods to evaluate or set Rect values. C# and Microsoft Visual Basic code should use members of Rect instead. |
| ResourceDictionary | Defines a dictionary that contains resources used by components of the app. This dictionary is oriented toward defining the resources in XAML, and then retrieving them through XAML references via the StaticResource markup extension. Alternatively you can access resources by traversing the dictionary at run time. |
| RoutedEvent | Represents a routed event to the general event system. |
| RoutedEventArgs | Contains state information and event data associated with a routed event. |
| Setter | Applies a value to a property in a Style. |
| SetterBase | Represents the base class for value setters. |
| SetterBaseCollection | Represents a collection of objects that inherit from SetterBase. |
| SizeChangedEventArgs | Provides data related to the SizeChanged event. |
| SizeHelper | Provides helper methods to evaluate or set Size values. C# and Microsoft Visual Basic code should use members of Size instead. |
| Style | Contains property setters that can be shared between instances of a type. |
| ThicknessHelper | Provides helper methods to evaluate or set Thickness values. C# and Microsoft Visual Basic code should use members of Thickness instead. |
| TriggerAction | Serves as the base class for BeginStoryboard. |
| TriggerActionCollection | Represents a collection of BeginStoryboard objects. |
| TriggerBase | Serves as the base class for EventTrigger. |
| TriggerCollection | Represents a collection of EventTrigger objects. |
| UIElement | UIElement is a base class for most of the objects that have visual appearance and can process basic input in a user interface. |
| UnhandledExceptionEventArgs | Provides data for the UnhandledException event. |
| VisualState | Represents the visual appearance of the control when it is in a specific state. |
| VisualStateChangedEventArgs | Provides data for the CurrentStateChanging and CurrentStateChanged events. |
| VisualStateGroup | Contains mutually exclusive VisualState objects and VisualTransition objects that are used to go from one state to another. |
| VisualStateManager | Manages states and the logic for transitioning between states for controls. |
| VisualTransition | Represents the visual behavior that occurs when the control transitions from one state to another. |
| Window | Represents an application window. |
Delegates
The Windows.UI.Xaml namespace has these delegates.
| Delegate | Description |
|---|---|
| ApplicationInitializationCallback | Represents the callback that should be invoked during the initialization sequence. |
| BindingFailedEventHandler | Represents the method that will handle the DebugSettings.BindingFailed event. |
| CreateDefaultValueCallback | Represents the method that can be invoked as part of a PropertyMetadata constructor to defer definition of a dependency property default value. |
| DependencyPropertyChangedEventHandler | Represents the method that will handle events raised when a DependencyProperty is changed on a particular DependencyObject implementation. |
| DragEventHandler | Represents the method that will handle the DragEnter, DragLeave, DragOver, and Drop events of a UIElement. |
| ExceptionRoutedEventHandler | Represents the method that will handle certain events that report exceptions. These exceptions generally come from asynchronous operations. |
| PropertyChangedCallback | Represents the callback that is invoked when the effective property value of a dependency property changes. |
| RoutedEventHandler | Represents the method that will handle routed events. |
| SizeChangedEventHandler | Represents the method that will handle the SizeChanged event. |
| SuspendingEventHandler | Represents the method that will handle the Suspending event. |
| UnhandledExceptionEventHandler | Represents the method that will handle the UnhandledException event. |
| VisualStateChangedEventHandler | Represents the method that will handle the CurrentStateChanging and CurrentStateChanged events. |
| WindowActivatedEventHandler | Represents the method that will handle the Activated event. |
| WindowClosedEventHandler | Represents the method that will handle the Closed event. |
| WindowSizeChangedEventHandler | Represents the method that will handle the Window.SizeChanged event. |
| WindowVisibilityChangedEventHandler | Represents the method that will handle the VisibilityChanged event. |
Enumerations
The Windows.UI.Xaml namespace has these enumerations.
| Enumeration | Description |
|---|---|
| ApplicationTheme | Declares the theme preference for an app. |
| DurationType | Declares whether a Duration has a special value of Automatic or Forever, or has valid information in its TimeSpan component. |
| FlowDirection | Defines constants that specify the content flow direction for text and UI elements. |
| FocusState | Describes how an element obtained focus. |
| FontCapitals | Describes the capital letter style value for the Typography.Capitals attached property. |
| FontEastAsianLanguage | Provides a mechanism for selecting font-specific versions of glyphs for a specified East Asian writing system or language. |
| FontEastAsianWidths | Provides a mechanism for selecting glyphs of different width styles. |
| FontFraction | Describes a fraction style value for the Typography.Fraction attached property. |
| FontNumeralAlignment | Describes the numeral alignment value for the Typography.NumeralAlignment attached property. |
| FontNumeralStyle | Describes a numeral style value for the Typography.NumeralStyle attached property. |
| FontVariants | Describes a font variant value for the Typography.Variants attached property. |
| GridUnitType | Describes the kind of value that a GridLength object is holding. |
| HorizontalAlignment | Indicates where an element should be displayed on the horizontal axis relative to the allocated layout slot of the parent element. |
| LineStackingStrategy | Describes the mechanism by which a line box is determined for each line. |
| TextAlignment | Specifies whether text is centered, left-aligned, or right-aligned. |
| TextTrimming | Describes how text is trimmed when it overflows the edge of its containing box. |
| TextWrapping | Specifies whether text wraps when it reaches the edge of its container. |
| VerticalAlignment | Describes how a child element is vertically positioned or stretched within a parent's layout slot. |
| Visibility | Specifies the display state of an element. |
Structures
The Windows.UI.Xaml namespace has these structures.
| Structure | Description |
|---|---|
| CornerRadius | Describes the characteristics of a rounded corner, such as can be applied to a Border. |
| Duration | Represents the duration of time that a Timeline is active. |
| GridLength | Represents the length of elements that explicitly support Star (*) unit sizing. |
| 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. |
Requirements
|
Minimum supported client | Windows 8 Release Preview |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
Build date: 5/22/2012
