Wpf.Ui Available types of transitions. None. Change opacity. Change opacity and slide from bottom. Slide from bottom. Slide from the right side. Slide from the left side. Provides tools for animation. TransitionAnimationProvider.ApplyTransition(MyFrameworkElement, Transition.FadeIn, 500); Attempts to apply an animation effect while adding content to the frame. Currently rendered element. Selected transition type. Transition duration. Returns if the transition was applied. Otherwise . Allows updating the accents used by controls in the application by swapping dynamic resources. ApplicationAccentColorManager.Apply( Color.FromArgb(0xFF, 0xEE, 0x00, 0xBB), ApplicationTheme.Dark, false ); ApplicationAccentColorManager.Apply( ApplicationAccentColorManager.GetColorizationColor(), ApplicationTheme.Dark, false ); The maximum value of the background HSV brightness after which the text on the accent will be turned dark. Gets the SystemAccentColor. Gets the of the SystemAccentColor. Gets the SystemAccentColorPrimary. Gets the of the SystemAccentColorPrimary. Gets the SystemAccentColorSecondary. Gets the of the SystemAccentColorSecondary. Gets the SystemAccentColorTertiary. Gets the of the SystemAccentColorTertiary. Changes the color accents of the application based on the color entered. Primary accent color. If , the colors will be different. If the color is taken from the Glass Color System, its brightness will be increased with the help of the operations on HSV space. Changes the color accents of the application based on the entered colors. Primary color. Alternative light or dark color. Second alternative light or dark color (most used). Third alternative light or dark color. Applies system accent color to the application. Gets current Desktop Window Manager colorization color. It should be the color defined in the system Personalization. Updates application resources. Theme in which an application using WPF UI is displayed. Unknown application theme. Dark application theme. Light application theme. High contract application theme. Allows to manage the application theme by swapping resource dictionaries containing dynamic resources with color information. ApplicationThemeManager.Apply( ApplicationTheme.Light ); if (ApplicationThemeManager.GetAppTheme() == ApplicationTheme.Dark) { ApplicationThemeManager.Apply( ApplicationTheme.Light ); } ApplicationThemeManager.Changed += (theme, accent) => { Debug.WriteLine($"Application theme changed to {theme.ToString()}"); }; Event triggered when the application's theme is changed. Gets a value that indicates whether the application is currently using the high contrast theme. if application uses high contrast theme. Gets a value that indicates whether the Windows is currently using the high contrast theme. if system uses high contrast theme. Changes the current application theme. Theme to set. Whether the custom background effect should be applied. Whether the color accents should be changed. Applies Resources in the . Gets currently set application theme. if something goes wrong. Gets currently set system theme. if something goes wrong. Gets a value that indicates whether the application is matching the system theme. if the application has the same theme as the system. Checks if the application and the operating system are currently working in a dark theme. Checks if the application and the operating system are currently working in a light theme. Tries to guess the currently set application theme. Represents a window that is being observed for changes in appearance. Initializes a new instance of the ObservedWindow class. The handle of the window. The backdrop type of the window. Indicates whether to update accents. Gets the root visual of the window. Gets the handle of the window. Gets the backdrop type of the window. Gets a value indicating whether to update accents. Gets a value indicating whether the window has a hook. Adds a hook to the window. The hook to add. Removes a hook from the window. The hook to remove. Allows managing application dictionaries. Gets the namespace, e.g. the library the resource is being searched for. Shows whether the application contains the . Any part of the resource name. if it doesn't exist. Gets the if exists. Any part of the resource name. , if it doesn't exist. Shows whether the application contains the . Any part of the resource name. A valid for the replaced resource. if the dictionary was updated. otherwise. Windows 11 themes. Unknown Windows theme. Custom Windows theme. Default light theme. Default dark theme. High-contrast theme: Desert High-contrast theme: Acquatic High-contrast theme: Dusk High-contrast theme: Nightsky Dark theme: Glow Dark theme: Captured Motion Light theme: Sunrise Light theme: Flow Provides information about Windows system themes. var currentWindowTheme = SystemThemeManager.GetCachedSystemTheme(); SystemThemeManager.UpdateSystemThemeCache(); var currentWindowTheme = SystemThemeManager.GetCachedSystemTheme(); Gets the Windows glass color. Gets a value indicating whether the system is currently using the high contrast theme. Returns the Windows theme retrieved from the registry. If it has not been cached before, invokes the and then returns the currently obtained theme. Currently cached Windows theme. Refreshes the currently saved system theme. Automatically updates the application background if the system theme or color is changed. settings work globally and cannot be changed for each . SystemThemeWatcher.Watch(this as System.Windows.Window); SystemThemeWatcher.UnWatch(this as System.Windows.Window); SystemThemeWatcher.Watch( _serviceProvider.GetRequiredService<MainWindow>() ); Watches the and applies the background effect and theme according to the system theme. The window that will be updated. Background effect to be applied when changing the theme. If , the accents will be updated when the change is detected. Unwatches the window and removes the hook to receive messages from the system. Listens to system messages on the application windows. Event triggered when application theme is updated. Current application . Current base system accent . Facilitates the management of the window background. WindowBackgroundManager.UpdateBackground( observedWindow.RootVisual, currentApplicationTheme, observedWindow.Backdrop ); Tries to apply dark theme to . Tries to remove dark theme from . Forces change to application background. Required if custom background effect was previously applied. Provides UI Automation peer for the CardControl. Provides UI Automation peer for the CardControl. Represents a contract with the service that creates . <ContentPresenter x:Name="RootContentDialogPresenter" Grid.Row="0" /> IContentDialogService contentDialogService = new ContentDialogService(); contentDialogService.SetContentPresenter(RootContentDialogPresenter); await _contentDialogService.ShowAsync( new ContentDialog(){ Title = "The cake?", Content = "IS A LIE!", PrimaryButtonText = "Save", SecondaryButtonText = "Don't Save", CloseButtonText = "Cancel" } ); Creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address. <ui:Anchor NavigateUri="https://lepo.co/" /> Control that draws a symmetrical arc with rounded edges. <ui:Arc EndAngle="359" StartAngle="0" Stroke="{ui:ThemeResource SystemAccentColorSecondaryBrush}" StrokeThickness="2" Visibility="Visible" /> Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets the initial angle from which the arc will be drawn. Gets or sets the final angle from which the arc will be drawn. Gets or sets the direction to where the arc will be drawn. Gets a value indicating whether one of the two larger arc sweeps is chosen; otherwise, if is , one of the smaller arc sweeps is chosen. Get the geometry that defines this shape. Based on Mark Feldman implementation. Draws a point on the coordinates of the given angle. Based on Mark Feldman implementation. The angle at which to create the point. Event triggered when one of the key parameters is changed. Forces the geometry to be redrawn. Overrides the default OnRender method to draw the element. A object that is drawn during the rendering pass of this . Represents a text control that makes suggestions to users as they enter text using a keyboard. The app is notified when text has been changed by the user and is responsible for providing relevant suggestions for this control to display. <ui:AutoSuggestBox x:Name="AutoSuggestBox" PlaceholderText="Search"> <ui:AutoSuggestBox.Icon> <ui:IconSourceElement> <ui:SymbolIconSource Symbol="Search24" /> </ui:IconSourceElement> </ui:AutoSuggestBox.Icon> </ui:AutoSuggestBox> Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets your items here if you want to use the default filtering Gets or sets a value indicating whether the drop-down portion of the is open. Gets or sets the text that is shown in the control. This property is not typically set in XAML. Gets or sets the placeholder text to be displayed in the control. The placeholder text to be displayed in the control. The default is an empty string. Gets or sets the maximum height for the drop-down portion of the control. Gets or sets a value indicating whether items in the view will trigger an update of the editable text part of the when clicked. Gets or sets displayed . Gets command used for focusing control. Identifies the routed event. Identifies the routed event. Identifies the routed event. Occurs when the user submits a search query. Event occurs when the user selects an item from the recommended ones. Raised after the text content of the editable control component is updated. Method for . Currently submitted query text. Method for . Currently selected item. Method for . Data for the text changed event. Changed text. Provides event data for the event. Provides data for the event. Provides data for the event. Provides data for the event. The user edited the text. The text was changed via code. The user selected one of the items in the auto-suggestion box. Used to highlight an item, attract attention or flag status. <ui:Badge Appearance="Secondary"> <TextBox Text="Hello" /> </ui:Badge> Identifies the dependency property. The control provides the direct path of pages or folders to the current location. <ui:BreadcrumbBar x:Name="BreadcrumbBar" /> Identifies the dependency property. Identifies the dependency property. Gets the triggered after clicking Identifies the routed event. Gets or sets custom command executed after selecting the item. Occurs when an item is clicked in the . Initializes a new instance of the class. Represents an item in a control. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets displayed . Gets or sets get or sets margin for the Gets or sets a value indicating whether the current item is the last one. Gets the Content property value of the BreadcrumbBarItem that is clicked. Gets the index of the item that was clicked. Inherited from the , adding . <ui:Button Appearance="Primary" Content="WPF UI button with font icon" Icon="{ui:SymbolIcon Symbol=Fluent24}" /> <ui:Button Appearance="Primary" Content="WPF UI button with font icon" Icon="{ui:FontIcon '🌈'}" /> The class inherits from the base class. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets displayed . Gets or sets background . Gets or sets border when the user mouses over the button. Gets or sets the foreground when the user clicks the button. Gets or sets background when the user clicks the button. Gets or sets border when the user clicks the button. Gets or sets a value that represents the degree to which the corners of a are rounded. Represents a control that allows a user to pick a date from a calendar display. <ui:CalendarDatePicker /> Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets a value indicating whether the current date is highlighted. Gets or sets a value indicating whether the calendar view of the is currently shown. Gets or sets the day that is considered the beginning of the week. Gets or sets the date currently set in the calendar picker. Inherited from the interactive card styled according to Fluent Design. Identifies the dependency property. Identifies the dependency property. Gets or sets a value indicating whether to display the chevron icon on the right side of the card. Gets or sets displayed . Ala Pa**one color card. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets the main text displayed below the color. Gets or sets text displayed under main . Gets or sets the font size of . Gets or sets the displayed . Gets or sets the displayed . Gets the displayed in . Virtual method triggered when is changed. Virtual method triggered when is changed. Virtual method triggered when is changed. Inherited from the control which displays an additional control on the right side of the card. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets header which is used for each item in the control. Gets or sets displayed . Gets or sets the corner radius of the control. Inherited from the control which can hide the collapsible content. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets displayed . Gets or sets displayed . Gets or sets content padding Property Simple Card with content and . Identifies the dependency property. Identifies the dependency property. Gets or sets additional content displayed at the bottom. Gets a value indicating whether the has a . If you use to extend the UI elements to the non-client area, you can include this container in the template of so that the content inside automatically fills the client area. Using this container can let you get rid of various margin adaptations done in Setter/Trigger of the style of when the window state changes. <Style x:Key="MyWindowCustomStyle" BasedOn="{StaticResource {x:Type Window}}" TargetType="{x:Type controls:FluentWindow}"> <Setter Property="Template" > <Setter.Value> <ControlTemplate TargetType="{x:Type Window}"> <AdornerDecorator> <controls:ClientAreaBorder Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"> <ContentPresenter x:Name="ContentPresenter" /> </controls:ClientAreaBorder> </AdornerDecorator> </ControlTemplate> </Setter.Value> </Setter> </Style> Gets the system value for the padded border thickness () in WPF units. Gets the system and values in WPF units. Gets the thickness of the window's non-client frame used for maximizing the window with a custom chrome. If you use a to extend the client area of a window to the non-client area, you need to handle the edge margin issue when the window is maximized. Use this property to get the correct margin value when the window is maximized, so that when the window is maximized, the client area can completely cover the screen client area by no less than a single pixel at any DPI. The method cannot obtain this value directly. Represents a control that lets a user pick a color using a color spectrum, sliders, and text input. Dialogue displayed inside the application covering its internals, displaying some content. <ContentPresenter x:Name="RootContentDialogPresenter" Grid.Row="0" /> var contentDialog = new ContentDialog(RootContentDialogPresenter); contentDialog.SetCurrentValue(ContentDialog.TitleProperty, "Hello World"); contentDialog.SetCurrentValue(ContentControl.ContentProperty, "This is a message"); contentDialog.SetCurrentValue(ContentDialog.CloseButtonTextProperty, "Close this dialog"); await contentDialog.ShowAsync(cancellationToken); var contentDialogService = new ContentDialogService(); contentDialogService.SetContentPresenter(RootContentDialogPresenter); await _contentDialogService.ShowSimpleDialogAsync( new SimpleContentDialogCreateOptions() { Title = "The cake?", Content = "IS A LIE!", PrimaryButtonText = "Save", SecondaryButtonText = "Don't Save", CloseButtonText = "Cancel" } ); Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the routed event. Identifies the routed event. Identifies the routed event. Identifies the routed event. Gets or sets the title of the . Gets or sets the title template of the . Gets or sets the width of the . Gets or sets the height of the . Gets or sets the max width of the . Gets or sets the max height of the . Gets or sets the margin of the . Gets or sets the text to display on the primary button. Gets or sets the text to be displayed on the secondary button. Gets or sets the text to display on the close button. Gets or sets the on the secondary button. Gets or sets the on the primary button. Gets or sets the on the close button. Gets or sets a value indicating whether the primary button is enabled. Gets or sets a value indicating whether the secondary button is enabled. Gets or sets the to apply to the primary button. Gets or sets the to apply to the secondary button. Gets or sets the to apply to the close button. Gets or sets a value that indicates which button on the dialog is the default action. Gets or sets a value indicating whether the footer buttons are visible. Gets command triggered after clicking the button in the template. Occurs after the dialog is opened. Occurs after the dialog starts to close, but before it is closed and before the event occurs. Occurs after the dialog is closed. Occurs after the has been tapped. Initializes a new instance of the class. Initializes a new instance of the class. inside of which the dialogue will be placed. The new will replace the current . Gets or sets inside of which the dialogue will be placed. The new will replace the current . Shows the dialog Hides the dialog with result Occurs after ContentPresenter.Content = null Invoked when a is clicked. The button that was clicked. Occurs after Loaded event Defines constants that specify the default button on a . The primary button is the default. The secondary button is the default. The close button is the default. Specifies identifiers to indicate the return value of a . No button was tapped. The primary button was tapped by the user. The secondary button was tapped by the user. Overwrites ContextMenu-Style for some UIElements (like RichTextBox) that don't take the default ContextMenu-Style by default. The code inside this CodeBehind-Class forces this ContextMenu-Style on these UIElements through Reflection (because it is only accessible through Reflection it is also only possible through CodeBehind and not XAML) ContextMenuLoader Initializes a new instance of the class and registers editing styles defined in "ContextMenu.xaml" with the . InitializeComponent Types of the available color accents of the controls. Control color according to the current theme accent. Control color according to the current theme element. Blue color theme. Dark color theme. Light color theme. Red color theme. Green color theme. Orange color theme. Transparent color theme. Used to initialize the library controls with static values. A DataGrid control that displays data in rows and columns and allows for the entering and editing of data. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets the style which is applied to all checkbox column in the DataGrid Gets or sets the style for all the column checkboxes in the DataGrid Gets or sets the style which is applied to all combobox column in the DataGrid Gets or sets the style for all the column comboboxes in the DataGrid Gets or sets the style which is applied to all textbox column in the DataGrid Gets or sets the style for all the column textboxes in the DataGrid A control that drop downs a flyout of choices from which one can be chosen. Identifies the dependency property. Identifies the dependency property. Gets or sets the flyout associated with this button. Gets or sets a value indicating whether the drop-down for a button is currently open. if the drop-down is open; otherwise, . The default is . This method is invoked when the changes. The new value of . Custom with events depending on actions taken by the user. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets a value indicating whether the user was recently scrolling in the last few seconds. Gets or sets a value indicating whether the user has taken an action related to scrolling. Gets or sets additional delay after which the should be hidden. Method reporting the mouse entered this element. Method reporting the mouse leaved this element. Custom with events depending on actions taken by the user. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets a value indicating whether the user was scrolling vertically for the last few seconds. Gets or sets a value indicating whether the user was scrolling horizontally for the last few seconds. Gets or sets the value required for the scroll to show automatically. Gets or sets time after which the scroll is to be hidden. OnScrollChanged is an override called whenever scrolling state changes on this . OnScrollChanged fires the ScrollChangedEvent. Overriders of this method should call base.OnScrollChanged(args) if they want the event to be fired. ScrollChangedEventArgs containing information about the change in scrolling state. Decides where to put the element. Puts the control element on the left. Puts the control element on the right. Class used to create identifiers of threads or tasks that can be performed multiple times within one instance. represents roughly the time in microseconds at which it was taken. Gets or sets the current identifier. Creates and gets the next identifier. Checks if the identifiers are the same. Creates and assigns a random value with an extra time code if possible. A custom WinUI Window with more convenience methods. Gets contains helper for accessing this window handle. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets a value determining corner preference for current . Gets or sets a value determining preferred backdrop type for current . Gets or sets a value indicating whether the default title bar of the window should be hidden to create space for app content. Initializes a new instance of the class. Initializes static members of the class. Overrides default properties. Overrides default properties. Private property callback. This virtual method is called when is changed. Private property callback. This virtual method is called when is changed. Private property callback. This virtual method is called when is changed. Represents a control that creates a pop-up window that displays information for an element in the interface. Identifies the dependency property. Identifies the dependency property. Identifies the routed event. Identifies the routed event. Gets or sets a value indicating whether a is visible. Event triggered when is opened. Event triggered when is opened. Gets or sets the orientation of the control when the control opens, and specifies the behavior of the control when it overlaps screen boundaries. Invoked whenever application code or an internal process, such as a rebuilding layout pass, calls the ApplyTemplate method. Defines several predefined text styles that you can apply to some elements responsible for displaying it. Extends to use Wpf.Ui custom styles To use this enhanced GridView in a ListView: <ListView> <ListView.View> <local:GridView> <GridViewColumn Header="First Name" DisplayMemberBinding="{Binding FirstName}"/> <GridViewColumn Header="Last Name" DisplayMemberBinding="{Binding LastName}"/> </local:GridView> </ListView.View> </ListView> Extends with MinWidth and MaxWidth properties. It can be used with when in GridView mode. <ui:ListView> <ui:ListView.View> <ui:GridView> <ui:GridViewColumn MinWidth="100" MaxWidth="200" DisplayMemberBinding="{Binding FirstName}" Header="First Name" /> </ui:GridView> </ui:ListView.View> </ui:ListView> Updates the desired width of the column to be clamped between MinWidth and MaxWidth). Uses reflection to directly set the private `_desiredWidth` field on the `System.Windows.Controls.GridViewColumn`. Thrown if reflection fails to access the `_desiredWidth` field Gets or sets the minimum width of the column. Identifies the dependency property. gets or sets the maximum width of the column. Identifies the dependency property. Extends , and adds layout support for , which can have and . Extends , and adds header row layout support for , which can have and . Button that opens a URL in a web browser. Identifies the dependency property. Gets or sets the URL (or application shortcut) to open. UI with attributes. Gets or sets the of the control, if available. Represents an icon that uses a glyph from the specified font. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets the character code that identifies the icon glyph. The hexadecimal character code for the icon glyph. Represents the base class for an icon UI element. Identifies the dependency property. Coerces the value of an Icon dependency property, allowing the use of either IconElement or IconSourceElement. The dependency object (unused). The value to be coerced. An IconElement, either directly or derived from an IconSourceElement. Tries to convert and to . Represents an icon that uses an IconSource as its content. Identifies the dependency property. Gets or sets Represents an icon that uses an as its content. Identifies the dependency property. Gets or sets the Source on this Image. Represents a text element containing an icon glyph. Identifies the dependency property. Identifies the dependency property. Gets or sets displayed . Gets or sets a value indicating whether or not we should use the . Represents an icon source that uses a glyph from the specified font. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets the character code that identifies the icon glyph. The hexadecimal character code for the icon glyph. Represents the base class for an icon source. Identifies the dependency property. Represents an icon source that uses a glyph from the specified font. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets displayed . Gets or sets a value indicating whether or not we should use the . The control that should react to changes in the screen DPI. Control that allows you to set an icon in it with an . Gets or sets displayed . Represents an image with additional properties for Borders and Rounded corners Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets the Source on this Image. The Source property is the ImageSource that holds the actual image drawn. Gets or sets the Stretch on this Image. The Stretch property determines how large the Image will be drawn. Gets or sets the stretch direction of the Viewbox, which determines the restrictions on scaling that are applied to the content inside the Viewbox. For instance, this property can be used to prevent the content from being smaller than its native size or larger than its native size. Gets or sets the CornerRadius property allows users to control the roundness of the corners independently by setting a radius value for each corner. Radius values that are too large are scaled so that they smoothly blend from corner to corner. Gets the CornerRadius for the inner image's Mask. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets the title of the . Gets or sets the title of the . Gets or sets the title of the . Gets or sets displayed . Communicates that the InfoBadge is displaying general information that requires the user's attention. Communicates that the InfoBadge is displaying general information that requires the user's attention. Communicates that the InfoBadge is displaying general information that requires the user's attention. Communicates that the InfoBadge is displaying general information that requires the user's attention. Communicates that the InfoBadge is displaying general information that requires the user's attention. An is an inline notification for essential app- wide messages. The InfoBar will take up space in a layout and will not cover up other content or float on top of it. It supports rich content (including titles, messages, and icons) and can be configured to be user-dismissable or persistent. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets a value indicating whether the user can close the . Defaults to true. Gets or sets a value indicating whether the is open. Gets or sets the title of the . Gets or sets the message of the . Gets or sets the type of the to apply consistent status color, icon, and assistive technology settings dependent on the criticality of the notification. Gets the triggered after clicking the close button. Initializes a new instance of the class. Communicates that the InfoBar is displaying general information that requires the user's attention. Communicates that the InfoBar is displaying information regarding a long-running and/or background task that has completed successfully. Communicates that the InfoBar is displaying information regarding a condition that might cause a problem in the future. Communicates that the InfoBar is displaying information regarding an error or problem that has occurred. Items range. Based on . Control changing its properties or appearance depending on the theme. Gets the theme that is currently set. Extends , and adds customized support or . <ui:ListView ItemsSource="{Binding ...}" > <ui:ListView.View> <ui:GridView> <GridViewColumn DisplayMemberBinding="{Binding FirstName}" Header="First Name" /> <GridViewColumn DisplayMemberBinding="{Binding LastName}" Header="Last Name" /> </ui:GridView> </ui:ListView.View> </ui:ListView> Identifies the dependency property. Gets or sets the view state of the , enabling custom logic based on the current view. The current view state of the . Prestyled loading screen with . Extended with properties. Gets or sets displayed . Changes readonly field value of to false. MenuLoader Initializes a new instance of the class. Sets menu alignment on initialization. InitializeComponent Customized window for notifications. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets a value indicating whether to show the in . Gets or sets the text to display on the primary button. Gets or sets the text to be displayed on the secondary button. Gets or sets the text to display on the close button. Gets or sets the on the primary button Gets or sets the on the secondary button Gets or sets the on the close button Gets or sets the on the primary button Gets or sets the on the secondary button Gets or sets the on the close button Gets or sets a value indicating whether the primary button is enabled. Gets or sets a value indicating whether the secondary button is enabled. Gets the command triggered after clicking the button on the Footer. Initializes a new instance of the class. Displays a message box Thrown if the operation is canceled. Occurs after Loading event Resizes the MessageBox to fit the content's size, including margins. The root element of the MessageBox Occurs after the is clicked The MessageBox button Defines constants that specify the default button on a . The primary button The secondary button The close button Specifies identifiers to indicate the return value of a . No button was tapped. The primary button was tapped by the user. The secondary button was tapped by the user. Represents a container that enables navigation of app content. It has a header, a view for the main content, and a menu pane for navigation commands. Gets or sets the header content. Gets or sets the visibility. Gets or sets a value indicating whether the header is always visible. Gets the collection of menu items displayed in the NavigationView. Gets or sets an object source used to generate the content of the NavigationView menu. Gets the list of objects to be used as navigation items in the footer menu. Gets or sets the object that represents the navigation items to be used in the footer menu. Gets the selected item. Gets or sets a UI element that is shown at the top of the control, below the pane if PaneDisplayMode is Top. Gets a value indicating whether the back button is enabled or disabled. Gets or sets a value that indicates whether the back button is visible or not. Default value is "Auto", which indicates that button visibility depends on the DisplayMode setting of the NavigationView. Gets or sets a value indicating whether the toggle button is visible. Gets or sets a value indicating whether the NavigationView pane is expanded to its full width. Gets or sets a value indicating whether the pane is shown. Gets or sets the width of the NavigationView pane when it's fully expanded. Gets or sets the width of the NavigationView pane in its compact display mode. Gets or sets the content for the pane header. Gets or sets the label adjacent to the menu icon when the NavigationView pane is open. Gets or sets the content for the pane footer. Gets or sets a value that specifies how the pane and content areas of a NavigationView are being shown. It is not the same PaneDisplayMode as in WinUi. Gets or sets an TitleBar to be displayed in the NavigationView. Gets or sets an AutoSuggestBox to be displayed in the NavigationView. Gets or sets an BreadcrumbBar that is in . Gets or sets the template property for and . Gets or sets a value deciding how long the effect of the transition between the pages should take. Gets or sets type of transitions during navigation. Gets or sets margin for a Frame of Occurs when the NavigationView pane is opened. Occurs when the NavigationView pane is closed. Occurs when the currently selected item changes. Occurs when an item in the menu receives an interaction such as a click or tap. Occurs when the back button receives an interaction such as a click or tap. Occurs when a new navigation is requested Occurs when navigated to page Gets a value indicating whether there is at least one entry in back navigation history. Synchronously navigates current navigation Frame to the given Element. Synchronously navigates current navigation Frame to the given Element. Synchronously adds an element to the navigation stack and navigates current navigation Frame to the Replaces the contents of the navigation frame, without changing the currently selected item or triggering an . Replaces the contents of the navigation frame, without changing the currently selected item or triggering an . Navigates the NavigationView to the next journal entry. if successfully navigated forward, otherwise . Navigates the NavigationView to the previous journal entry. if successfully navigated backward, otherwise . Clears the NavigationView history. Allows you to assign to the NavigationView a special service responsible for retrieving the page instances. Allows you to assign a general to the NavigationView that will be used to retrieve page instances and view models. Represents the container for an item in a NavigationView control. Gets the unique identifier that allows the item to be located in the navigation. Gets or sets the content Gets or sets the icon displayed in the MenuItem object. Gets the collection of menu items displayed in the NavigationView. Gets or sets an object source used to generate the content of the NavigationView menu. Gets a value indicating whether the current element is active. Gets or sets a value indicating whether the sub- are expanded. Gets or sets the unique tag used by the parent navigation system for the purpose of searching and navigating. Gets or sets the type of the page to be navigated. (Should be derived from ). Gets or sets the caching characteristics for a page involved in a navigation. Gets or sets the template property Gets or sets the parent if it's in collection Add / Remove ClickEvent handler. Correctly activates Correctly deactivates Specifies caching characteristics for a page involved in a navigation. The page is never cached and a new instance of the page is created on each visit. The page is cached, but the cached instance is discarded when the size of the cache for the frame is exceeded. The page is cached and the cached instance is reused for every visit regardless of the cache size for the frame. Defines attached properties for . Represents a container that enables navigation of app content. It has a header, a view for the main content, and a menu pane for navigation commands. Defines events for . Defines navigation logic and state management for . Defines the dependency properties and dp callbacks for control Defines the template parts for the control Registers attached property NavigationView.HeaderContent Helper for getting from . to read from. HeaderContent property value. Helper for setting on . to set on. HeaderContent property value. Identifies the dependency property. Gets the parent for its children. Helper for getting from . to read from. NavigationParent property value. Initializes static members of the class and overrides default property metadata. Initializes a new instance of the class. This virtual method is called when this element is detached form a loaded tree. This virtual method is called when ActualWidth or ActualHeight (or both) changed. This virtual method is called when is clicked. This virtual method is called when is clicked. This virtual method is called when is clicked. This virtual method is called when is changed. This virtual method is called when is changed. Navigate to the page after its name is selected in . Identifies the routed event. Identifies the routed event. Identifies the routed event. Identifies the routed event. Identifies the routed event. Identifies the routed event. Identifies the routed event. Raises the pane opened event. Raises the pane closed event. Raises the selection changed event. Raises the item invoked event. Raises the back requested event. Raises the navigating requested event. Raises the navigated requested event. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets a value indicating whether debugging messages for this control are enabled Template element represented by the PART_MenuItemsItemsControl name. Template element represented by the PART_MenuItemsItemsControl name. Template element represented by the PART_FooterMenuItemsItemsControl name. Template element represented by the PART_BackButton name. Template element represented by the PART_ToggleButton name. Template element represented by the PART_AutoSuggestBoxSymbolButton name. Gets or sets the control responsible for rendering the content. Gets or sets the control located at the top of the pane with left arrow icon. Gets or sets the control located at the top of the pane with hamburger icon. Gets or sets the control located at the top of the pane with left arrow icon. Gets or sets the control located at the top of the pane with hamburger icon. Gets or sets the control that is visitable if PaneDisplayMode="Left" and in compact state Internal activator for creating content instances of the navigation view items. Creates new instance of type derived from . to instantiate. Additional context to set. Instance of the object or . Defines constants that specify whether the back button is visible in NavigationView. Do not display the back button in NavigationView, and do not reserve space for it in layout. Display the back button in NavigationView. The system chooses whether or not to display the back button, depending on the device/form factor. On phones, tablets, desktops, and hubs, the back button is visible. On Xbox/TV, the back button is collapsed. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets type of transitions during navigation. Gets or sets a value indicating whether the dynamic scroll viewer is enabled. Represents the container for an item in a NavigationView control. When needed, it can be used as a normal button with a action. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets a value indicating whether MenuItems.Count > 0 Correctly activates Correctly deactivates Is called when mouse is clicked down. Represents a header for a group of menu items in a NavigationMenu. Identifies the dependency property. Identifies the dependency property. Gets or sets the text presented in the header element. Gets or sets the icon. Represents a line that separates menu items in a NavigationMenu. Defines constants that specify how and where the NavigationView pane is shown. The pane is shown on the left side of the control. The pane is shown on the left side of the control. Only the pane icons are shown. The pane is shown on the left side of the control. Large icons with titles underneath are the only display option. Does not support . Similar to the Windows Store (2022) app. The pane is shown at the top of the control. The pane is shown at the bottom of the control. An interface that returns a string representation of a provided value, using distinct format methods to format several data types. Returns a string representation of a value. Returns a string representation of an value. Returns a string representation of a value. An interface that parses a string representation of a numeric value. Attempts to parse a string representation of a numeric value. Attempts to parse a string representation of an numeric value. Attempts to parse a string representation of an numeric value. Represents a control that can be used to display and edit numbers. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the routed event. Gets or sets the numeric value of a . Gets or sets the number of decimal places to be rounded when converting from Text to Value. Gets or sets the value that is added to or subtracted from when a small change is made, such as with an arrow key or scrolling. Gets or sets the value that is added to or subtracted from when a large change is made, such as with the PageUP and PageDown keys. Gets or sets the numerical maximum for . Gets or sets the numerical minimum for . Gets or sets a value indicating whether the control will accept and evaluate a basic formulaic expression entered as input. Gets or sets the number formatter. Gets or sets a value that indicates the placement of buttons used to increment or decrement the property. Gets or sets the input validation behavior to invoke when invalid input is entered. Occurs after the user triggers evaluation of new input by pressing the Enter key, clicking a spin button, or by changing focus. Is called when in this changes. Is called when something is pasted in this . Defines values that specify how the spin buttons used to increment or decrement the are displayed. The spin buttons are not displayed. The spin buttons have two visual states, depending on focus. By default, the spin buttons are displayed in a compact, vertical orientation. When the Numberbox gets focus, the spin buttons expand. The spin buttons are displayed in an expanded, horizontal orientation. Defines values that specify the input validation behavior of a when invalid input is entered. Input validation is disabled. Invalid input is replaced by PlaceholderText text. Base nubmer formatter that uses default format specifier and that represents the culture used by the current thread. A custom ScrollViewer that allows certain mouse events to bubble through when it's inactive. Identifies the dependency property. Gets or sets a value indicating whether blocked inner scrolling should be propagated forward. The modified password control. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the routed event. Gets or sets currently typed text represented by asterisks. Gets or sets character used to mask the password. Gets a value indicating whether the password is revealed. Gets or sets a value indicating whether to display the password reveal button. Event fired from this text box when its inner content has been changed. It is redirected from inner TextContainer.Changed event. Is called when property is changing. Is called when property is changing. Triggered by clicking a button in the control template. Additional parameters. Called when is changed. Called if the character is changed in the during the run. Called if the reveal mode is changed in the during the run. Rotating loading ring. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets the progress. Gets or sets a value indicating whether shows actual values () or generic, continuous progress feedback. Gets or sets the . Gets the when is . Gets background ring fill. Gets background ring visibility. Re-draws depending on . Validates the entered and redraws the . Displays the rating scale with interactions. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the routed event. Gets or sets the rating value. Gets or sets the maximum allowed rating value. Gets or sets a value indicating whether half of the star can be selected. Occurs after the user selects the rating. Is called when changes. Is called when mouse is moved away from the control. Is called when mouse is moved around the control. Is called when mouse is cliked down. Adjusts the control's in response to keyboard input, incrementing or decrementing based on the key pressed. Key event arguments containing details about the key press. Is called when Template is changed. Extends the control with additional properties. Identifies the dependency property. Gets or sets a value indicating whether the user can select text in the control. Direction of . Based on . Vertical scroll direction. Horizontal scroll direction. Snackbar inform user of a process that an app has performed or will perform. It appears temporarily, towards the bottom of the window. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the routed event. Identifies the routed event. Gets or sets a value indicating whether the close button should be visible. Gets or sets the transform. Gets or sets a value indicating whether the is visible. Gets or sets a time for which the should be visible. Gets or sets the title of the . Gets or sets the title template of the . Gets or sets the icon Gets or sets the foreground of the . Gets the command triggered after clicking the button in the template. Occurs when the snackbar is about to open. Occurs when the snackbar is about to close. Initializes a new instance of the class with a specified presenter. The to manage the snackbar's display and interactions. Shows the Shows the Shows the . Shows the . Hides the This virtual method is called when is opening and it raises the . This virtual method is called when is closing and it raises the . Specifies how remaining space is distributed. Based on . Spacing is disabled and all items will be arranged as closely as possible. The remaining space is evenly distributed between the items on a layout row, as well as the start and end of each row. The remaining space is evenly distributed between the items on a layout row, excluding the start and end of each row. The remaining space is evenly distributed between start and end of each row. Represents a button with two parts that can be invoked separately. One part behaves like a standard button and the other part invokes a flyout. Template element represented by the ToggleButton name. Gets or sets control responsible for toggling the drop-down button. Identifies the dependency property. Identifies the dependency property. Gets or sets the flyout associated with this button. Gets or sets a value indicating whether the drop-down for a button is currently open. if the drop-down is open; otherwise, . The default is . This method is invoked when the changes. The new value of . This method is invoked when the changes. The new value of . Triggered when the control is unloaded. Releases resource bindings. Represents a list of filled Fluent System Icons v.1.1.233. May be converted to using GetGlyph() or to using GetString() Actually, this icon is not empty, but makes it easier to navigate. Set of static methods to operate on and . If the icon is not found in some places, this one will be displayed. If the filled icon is not found in some places, this one will be displayed. Finds icon based on name. Name of the icon. Finds icon based on name. Name of the icon. Represents a list of regular Fluent System Icons v.1.1.233. May be converted to using GetGlyph() or to using GetString() Actually, this icon is not empty, but makes it easier to navigate. The TabView control is a way to display a set of tabs and their respective content. Tab controls are useful for displaying several pages (or documents) of content while giving a user the capability to rearrange, open, or close new tabs. Represents a single tab within a . Extended with additional parameters like . Identifies the dependency property. Identifies the dependency property. Gets or sets the of the text. Gets or sets the color of the text. Extended with additional parameters like . Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets displayed . Gets or sets which side the icon should be placed on. Gets or sets placeholder text. Gets or sets a value indicating whether to enable the placeholder text. Gets or sets a value indicating whether to display the placeholder text. Gets or sets a value indicating whether to enable the clear button. Gets or sets a value indicating whether to show the clear button when is focused. Gets or sets a value indicating whether text selection is enabled. Gets the command triggered when clicking the button. Initializes a new instance of the class. Reveals the clear button by property. Hides the clear button by property. Triggered when the user clicks the clear text button. Triggered by clicking a button in the control template. Colors for UI labels and static text Rest or Hover Rest or Hover Pressed only (not accessible) Disabled only (not accessible) Allows to rate positively or negatively by clicking on one of the thumbs. Identifies the dependency property. Identifies the routed event. Occurs when is changed. Identifies the dependency property. Gets or sets the value determining the current state of the control. Gets the command triggered when clicking the button. Initializes a new instance of the class and attaches . Triggered by clicking a button in the control template. This virtual method is called when is changed. States of the control. No thumb has been clicked. The thumb up has been clicked. The thumb down has been clicked. Clock system. Represents a control that allows a user to pick a time value. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets the content for the control's header. Gets or sets the time currently set in the time picker. Gets or sets the time currently selected in the time picker Gets or sets a value that indicates the time increments shown in the minute picker. For example, 15 specifies that the TimePicker minute control displays only the choices 00, 15, 30, 45. Gets or sets the clock system to use. Custom navigation buttons for the window. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the routed event. Identifies the routed event. Identifies the routed event. Identifies the routed event. Identifies the dependency property. Gets or sets title displayed on the left. Gets or sets the content displayed in the . Gets or sets the foreground of the navigation buttons. Gets or sets the background of the navigation buttons when hovered. Gets a value indicating whether the current window is maximized. Gets or sets a value indicating whether the controls affect main application window. Gets or sets a value indicating whether to show the maximize button. Gets or sets a value indicating whether to show the minimize button. Gets or sets a value indicating whether to show the help button Gets or sets a value indicating whether to show the close button. Gets or sets a value indicating whether the maximize functionality is enabled. If disabled the MaximizeActionOverride action won't be called Gets or sets the titlebar icon. Gets or sets a value indicating whether the window can be closed by double clicking on the icon Event triggered after clicking close button. Event triggered after clicking maximize or restore button. Event triggered after clicking minimize button. Event triggered after clicking help button Gets the command triggered when clicking the titlebar button. Gets or sets the that should be executed when the Maximize button is clicked."/> Gets or sets what should be executed when the Minimize button is clicked. Initializes a new instance of the class and sets the default event. Invoked whenever application code or an internal process, such as a rebuilding layout pass, calls the ApplyTemplate method. This virtual method is triggered when the app's theme changes. Listening window hooks after rendering window content to SizeToContent support Show 'SystemMenu' on mouse right button up. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets the type of the button. Gets or sets the foreground of the navigation buttons. Gets or sets the foreground of the navigation buttons when moused over. Forces button background to change. Forces button background to change. Invokes click on the button. Type of the Title Bar button. Unknown button. Maximize button. Close button. Maximize button. Restore button. Help button. Use to present users with two mutally exclusive options (like on/off). Identifies the dependency property. Identifies the dependency property. Gets or sets the content that should be displayed when the is in the "Off" state. Gets or sets the content that should be displayed when the is in the "On" state. TODO: Work in progress. Identifies the dependency property. Gets or sets the data used to generate the child elements of this control. Work in progress. Identifies the dependency property. Identifies the dependency property. Gets or sets the title that will be displayed. Gets or sets the column group name. This virtual method is called when is changed. Work in progress. Extended with properties. Identifies the dependency property. Gets or sets displayed . Represents a method that handles general events. The type of the sender. The type of the event data. The source of the event. An object that contains the event data. Simple control that displays a gird of items. Depending on the orientation, the items are either stacked horizontally or vertically until the items are wrapped to the next row or column. The control is using virtualization to support large amount of items. In order to work properly all items must have the same size. Based on . Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets a value that specifies the orientation in which items are arranged. The default value is . Gets or sets the spacing mode used when arranging the items. The default value is . Gets or sets a value indicating whether the items get stretched to fill up remaining space. The default value is false. The MaxWidth and MaxHeight properties of the ItemContainerStyle can be used to limit the stretching. In this case the use of the remaining space will be determined by the SpacingMode property. Initializes the with . Virtualized . Based on . Identifies the dependency property. Gets or sets the cache length unit. Initializes a new instance of the class. Work in progress. Base abstract class for creating virtualized panels. Based on . Owner of the displayed items. Items generator. Previously set visibility of the vertical scroll bar. Previously set visibility of the horizontal scroll bar. Gets the scroll unit. Gets or sets the direction in which the panel scrolls when user turns the mouse wheel. Gets a value indicating whether the virtualizing is enabled. Gets the virtualization mode. Gets a value indicating whether the panel is in VirtualizationMode.Recycling. Gets the cache length before and after the viewport. Gets the Unit of the cache length. Can be Pixel, Item or Page. When the ItemsOwner is a group item it can only be pixel or item. Gets the ItemsControl (e.g. ListView). Gets the ItemsControl (e.g. ListView) or if the ItemsControl is grouping a GroupItem. Gets items collection. Gets the offset. Gets items container. Gets or sets the range of items that a realized in or cache. Gets the . Gets the viewport. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets the scroll owner. Gets or sets a value indicating whether the content can be vertically scrolled. Gets or sets a value indicating whether the content can be horizontally scrolled. Gets or sets the scroll line delta for pixel based scrolling. The default value is 16 dp. Gets or sets the mouse wheel delta for pixel based scrolling. The default value is 48 dp. Gets or sets the scroll line delta for item based scrolling. The default value is 1 item. Gets or sets the mouse wheel delta for item based scrolling. The default value is 3 items. Gets width of the . Gets height of the . Gets the horizontal offset. Gets the vertical offset. Gets the width. Gets the height. Sets the vertical offset. Sets the horizontal offset. Updates scroll offset, extent and viewport. Gets item index from the generator. Gets the position of children from the generator. Realizes visible and cached items. Virtualizes (cleanups) no longer visible or cached items. Sets vertical scroll offset by given amount. The value by which the offset is to be increased. Sets horizontal scroll offset by given amount. The value by which the offset is to be increased. Calculates the extent that would be needed to show all items. Calculates the item range that is visible in the viewport or cached. Gets line up scroll amount. Gets line down scroll amount. Gets line left scroll amount. Gets line right scroll amount. Gets mouse wheel up scroll amount. Gets mouse wheel down scroll amount. Gets mouse wheel left scroll amount. Gets mouse wheel right scroll amount. Gets page up scroll amount. Gets page down scroll amount. Gets page left scroll amount. Gets page right scroll amount. Extended base class for . Based on . Gets or sets the size of the single child element. Gets or sets the amount of the displayed rows. Gets or sets the amount of displayed items per row. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Identifies the dependency property. Gets or sets the spacing mode used when arranging the items. The default value is . Gets or sets a value that specifies the orientation in which items are arranged. The default value is . Gets or sets a value that specifies the size of the items. The default value is . If the value is the size of the items gots measured by the first realized item. Gets or sets a value indicating whether the items get stretched to fill up remaining space. The default value is false. The MaxWidth and MaxHeight properties of the ItemContainerStyle can be used to limit the stretching. In this case the use of the remaining space will be determined by the SpacingMode property. This virtual method is called when is changed. Private callback for . Updates child size of . Calculates child size. Calculates desired spacing between items. Calculates desired child arrange size. Gets the style property value for item containers within the . The expected type of the property value. The to retrieve the value for. The value to return if the property is not set. The value of the specified property if found; otherwise, the . Gets item row index. Gets X panel orientation. Gets Y panel orientation. Gets panel width. Gets panel height. Defines panel size. Defines panel coordinates and size. Applies the chosen backdrop effect to the selected window. Checks whether the selected backdrop type is supported on current platform. if the selected backdrop type is supported on current platform. Applies a backdrop effect to the selected . The window to which the backdrop effect will be applied. The type of backdrop effect to apply. Determines the visual appearance of the window's backdrop. if the operation was successful; otherwise, . Applies backdrop effect to the selected window handle based on the specified backdrop type. The window handle to which the backdrop effect will be applied. The type of backdrop effect to apply. This determines the visual appearance of the window's backdrop. if the operation was successful; otherwise, . Tries to remove backdrop effects if they have been applied to the . The window from which the effect should be removed. Tries to remove all effects if they have been applied to the hWnd. Pointer to the window handle. Tries to remove background from and it's composition area. Window to manipulate. if operation was successful. No backdrop effect. Sets DWMWA_SYSTEMBACKDROP_TYPE to . Windows 11 Mica effect. Windows Acrylic effect. Windows 11 wallpaper blur effect. Ways you can round windows. Determined by system or application preference. Do not round the corners. Round the corners. Round the corners slightly. Converts an to an . Converts a value to an . The value to convert. The type of the binding target property. The converter parameter. The culture to use in the converter. The converted . Converts an back to an IconSourceElement. The value to convert. The type of the binding target property. The converter parameter. The culture to use in the converter. The converted IconSourceElement. Helper class for Visual Studio designer. Gets a value indicating whether the project is currently in design mode. Gets a value indicating whether the project is currently debugged. Adds an extension for that allows manipulation with HSL and HSV color spaces. Maximum size with the current precision. Creates a from a . Input color. Brush converted to color. Creates a from a with defined brush opacity. Input color. Degree of opacity. Brush converted to color with modified opacity. Gets luminance based on HSL space. Input color. Gets brightness based on HSV space. Input color. Gets hue based on HSV space. Input color. Gets saturation based on HSV space. Input color. Allows to change the luminance by a factor based on the HSL color space. Input color. The value of the luminance change factor from to . Updated . Allows to change the saturation by a factor based on the HSL color space. Input color. The value of the saturation change factor from to . Updated . Allows to change the brightness by a factor based on the HSV color space. Input color. The value of the brightness change factor from to . Updated . Allows to change the brightness, saturation and luminance by a factors based on the HSL and HSV color space. Color to convert. The value of the brightness change factor from to . The value of the saturation change factor from to . The value of the luminance change factor from to . Updated . HSL representation models the way different paints mix together to create colour in the real world, with the lightness dimension resembling the varying amounts of black or white paint in the mixture. hue, saturation, lightness HSV representation models how colors appear under light. hue, saturation, brightness Converts the color values stored as HSL to RGB. Converts the color values stored as HSV (HSB) to RGB. Calculates the color component for HSL. Whether the floating point number is about the same. Absolute percentage. Absolute byte. Shows the simple alert-like dialog. Result of the life cycle of the . Shows simple dialog The . Set of parameters of the basic dialog box. The cancellation token. Result of the life cycle of the . Extensions for the . Tries to apply Mica effect to the . A collection of several extensions to the class. Gets the number of seconds that have elapsed since the Unix epoch, excluding leap seconds. The Unix epoch is 00:00:00 UTC on 1 January 1970. Gets the number of milliseconds that have elapsed since the Unix epoch, excluding leap seconds. The Unix epoch is 00:00:00 UTC on 1 January 1970. Gets the number of microseconds that have elapsed since the Unix epoch, excluding leap seconds. The Unix epoch is 00:00:00 UTC on 1 January 1970. Set of extensions for . Gets from . Selected frame. DataContext of currently active element, otherwise . Cleans journal. Selected frame. Extensions for the . Sets the pane display mode of the navigation service. The navigation service. The pane display mode. Same so multiple calls can be chained. Extensions for the . Shows the snackbar. If it is already visible, firstly hides it for a moment, changes its content, and then shows it again. The . Name displayed on top of snackbar. Message inside the snackbar. Shows the snackbar. If it is already visible, firstly hides it for a moment, changes its content, and then shows it again. The . Name displayed on top of snackbar. Message inside the snackbar. Display style. Shows the snackbar. If it is already visible, firstly hides it for a moment, changes its content, and then shows it again. The . Name displayed on top of snackbar. Message inside the snackbar. Additional icon on the left. Shows the snackbar. If it is already visible, firstly hides it for a moment, changes its content, and then shows it again. The . Name displayed on top of snackbar. Message inside the snackbar. The time after which the snackbar should disappear. Shows the snackbar. If it is already visible, firstly hides it for a moment, changes its content, and then shows it again. The . Name displayed on top of snackbar. Message inside the snackbar. Display style. The time after which the snackbar should disappear. Shows the snackbar. If it is already visible, firstly hides it for a moment, changes its content, and then shows it again. The . Name displayed on top of snackbar. Message inside the snackbar. Additional icon on the left. The time after which the snackbar should disappear. Set of extensions for the enumeration of icons to facilitate their management and replacement. Replaces with . Replaces with . Converts to based on the ID. Converts to based on the ID. Extension that converts the typography type enumeration to the name of the resource that represents it. Converts the typography type enumeration to the name of the resource that represents it. Name of the resource matching the . otherwise. Extension that converts the text color type enumeration to the name of the resource that represents it. Converts the text color type enumeration to the name of the resource that represents it. Name of the resource matching the . otherwise. Do not call it outside of NCHITTEST, NCLBUTTONUP, NCLBUTTONDOWN messages! if mouse is over the element. otherwise. Extensions for class. Removes last segment of the . Determines whether the end of is equal to provided value. Append provided segments to the . Append new to the . Stores DPI information from which a or is rendered. Initializes a new instance of the structure. The DPI scale on the X axis. The DPI scale on the Y axis. Initializes a new instance of the structure. The DPI on the X axis. The DPI on the Y axis. Gets the DPI on the X axis. Gets the DPI on the Y axis. Gets the DPI scale on the X axis. Gets the DPI scale on the Y axis. Provides access to various DPI-related methods. Default DPI value. Gets DPI of the selected . The window that you want to get information about. Gets DPI of the selected based on it's handle. Handle of the window that you want to get information about. Gets the DPI values from . The DPI values from . If the property cannot be accessed, the default value is returned. Convert a point in device independent pixels (1/96") to a point in the system coordinates. A point in the logical coordinate system. Horizontal DPI scale. Vertical DPI scale. Returns the parameter converted to the system's coordinates. Convert a point in system coordinates to a point in device independent pixels (1/96"). Returns the parameter converted to the device independent coordinate system. Set of tools for hardware acceleration. Determines whether the provided rendering tier is supported. Hardware acceleration rendering tier to check. if tier is supported. An value whose high-order word corresponds to the rendering tier for the current thread. Starting in the .NET Framework 4, rendering tier 1 has been redefined to only include graphics hardware that supports DirectX 9.0 or greater. Graphics hardware that supports DirectX 7 or 8 is now defined as rendering tier 0. No graphics hardware acceleration is available for the application on the device. All graphics features use software acceleration. The DirectX version level is less than version 9.0. Most of the graphics features of WPF will use hardware acceleration if the necessary system resources are available and have not been exhausted. This corresponds to a DirectX version that is greater than or equal to 9.0. Most of the graphics features of WPF will use hardware acceleration provided the necessary system resources have not been exhausted. This corresponds to a DirectX version that is greater than or equal to 9.0. Represents a contract with the service that creates . <ContentPresenter x:Name="RootContentDialogPresenter" Grid.Row="0" /> IContentDialogService contentDialogService = new ContentDialogService(); contentDialogService.SetContentPresenter(RootContentDialogPresenter); await _contentDialogService.ShowAsync( new ContentDialog(){ Title = "The cake?", Content = "IS A LIE!", PrimaryButtonText = "Save", SecondaryButtonText = "Don't Save", CloseButtonText = "Cancel" } ); Sets the inside of which the dialogue will be placed. The new will replace the current . Provides direct access to the Reference to the currently selected which displays the 's. Asynchronously shows the specified dialog. The dialog to be displayed. A cancellation token that can be used to cancel the operation. A task that represents the asynchronous operation. The task result contains the dialog result. Represents a contract with a that contains . Through defined service allows you to use the Dependency Injection pattern in WPF UI navigation. Lets you navigate to the selected page based on it's type. Should be used with . of the page. if the operation succeeds. otherwise. Lets you navigate to the selected page based on it's type, Should be used with . of the page. DataContext if the operation succeeds. otherwise. Lets you navigate to the selected page based on it's tag. Should be used with . Id or tag of the page. if the operation succeeds. otherwise. Lets you navigate to the selected page based on it's tag. Should be used with . Id or tag of the page. DataContext if the operation succeeds. otherwise. Synchronously adds an element to the navigation stack and navigates current navigation Frame to the Type of control to be synchronously added to the navigation stack if the operation succeeds. otherwise. Synchronously adds an element to the navigation stack and navigates current navigation Frame to the Type of control to be synchronously added to the navigation stack DataContext if the operation succeeds. otherwise. Provides direct access to the control responsible for navigation. Instance of the control. Lets you attach the control that represents the . Instance of the . Navigates the NavigationView to the previous journal entry. if the operation succeeds. otherwise. Represents a contract with a that contains . Through defined service allows you to use the MVVM model in WPF UI navigation. Provides direct access to the control responsible for navigation. Instance of the control. Lets you navigate to the selected page based on it's type. Should be used with . of the page. if the operation succeeds. otherwise. Lets you attach the service provider that delivers page instances to . Instance of the . Lets you attach the service that delivers page instances to . Instance of the with attached service provider. Triggers the command to open a window. Triggers the command to close a window. An interface expanding with the ability to raise the event externally. Notifies that the property has changed. A generic interface representing a more specific version of . The type used as argument for the interface methods. Provides a strongly-typed variant of . The input parameter. Whether or not the current command can be executed. Use this overload to avoid boxing, if is a value type. Provides a strongly-typed variant of . The input parameter. Use this overload to avoid boxing, if is a value type. A generic command whose sole purpose is to relay its functionality to other objects by invoking delegates. The default return value for the CanExecute method is . This class allows you to accept command parameters in the and callback methods. The type of parameter being passed as input to the callbacks. The to invoke when is used. The optional action to invoke when is used. Initializes a new instance of the class that can always execute. The execution logic. Due to the fact that the interface exposes methods that accept a nullable parameter, it is recommended that if is a reference type, you should always declare it as nullable, and to always perform checks within . Thrown if is . Initializes a new instance of the class. The execution logic. The execution status logic. Due to the fact that the interface exposes methods that accept a nullable parameter, it is recommended that if is a reference type, you should always declare it as nullable, and to always perform checks within . Thrown if or are . Tries to get a command argument of compatible type from an input . The input parameter. The resulting value, if any. Whether or not a compatible command argument could be retrieved. Throws an if an invalid command argument is used. The input parameter. Thrown with an error message to give info on the invalid parameter. Desktop Window Manager (DWM). Cloaked flags describing why a window is cloaked. GT_* DWMTWR_* Tab window requirements. This result means the window meets all requirements requested. In some configurations, admin/user setting or mode of the system means that windows won't be tabbed This requirement says that the system/mode must implement tabbing and if it does not nothing can be done to change this. The window has an owner or parent so is ineligible for tabbing. The window has styles that make it ineligible for tabbing. To be eligible windows must: Have the WS_OVERLAPPEDWINDOW (WS_CAPTION, WS_THICKFRAME, etc.) styles set. Not have WS_POPUP, WS_CHILD or WS_DLGFRAME set. Not have WS_EX_TOPMOST or WS_EX_TOOLWINDOW set. The window is ineligible due to its Dwm configuration. It must not extended its client area into the title bar using DwmExtendFrameIntoClientArea It must not have DWMWA_NCRENDERING_POLICY set to DWMNCRP_ENABLED The window is ineligible due to it's margins, most likely due to custom handling in WM_NCCALCSIZE. The window must use the default window margins for the non-client area. The window has been explicitly opted out by setting DWMWA_TABBING_ENABLED to FALSE. The user has configured this application to not participate in tabbing. The group policy has configured this application to not participate in tabbing. This is set if app compat has blocked tabs for this window. Can be overridden per window by setting DWMWA_TABBING_ENABLED to TRUE. That does not override any other tabbing requirements. Flags used by the DwmSetWindowAttribute function to specify the rounded corner preference for a window. Backdrop types. Automatically selects backdrop effect. Turns off the backdrop effect. Sets Mica effect with generated wallpaper tint. Sets acrlic effect. Sets blurred wallpaper effect, like Mica without tint. Non-client rendering policy attribute values Enable/disable non-client rendering based on window style Disabled non-client rendering; window style is ignored Enabled non-client rendering; window style is ignored Sentinel value. Values designating how Flip3D treats a given window. Hide or include the window in Flip3D based on window style and visibility. Display the window under Flip3D and disabled. Display the window above Flip3D and enabled. Sentinel value. Options used by the DwmGetWindowAttribute and DwmSetWindowAttribute functions. Is non-client rendering enabled/disabled DWMNCRENDERINGPOLICY - Non-client rendering policy Potentially enable/forcibly disable transitions Enables content rendered in the non-client area to be visible on the frame drawn by DWM. Retrieves the bounds of the caption button area in the window-relative space. Is non-client content RTL mirrored Forces the window to display an iconic thumbnail or peek representation (a static bitmap), even if a live or snapshot representation of the window is available. Designates how Flip3D will treat the window. Gets the extended frame bounds rectangle in screen space Indicates an available bitmap when there is no better thumbnail representation. Don't invoke Peek on the window. LivePreview exclusion information Cloaks the window such that it is not visible to the user. If the window is cloaked, provides one of the following values explaining why. Freeze the window's thumbnail image with its current visuals. Do no further live updates on the thumbnail image to match the window's contents. BOOL, Updates the window only when desktop composition runs for other reasons BOOL, Allows the use of host backdrop brushes for the window. Allows a window to either use the accent color, or dark, according to the user Color Mode preferences. Allows a window to either use the accent color, or dark, according to the user Color Mode preferences. Controls the policy that rounds top-level window corners. Windows 11 and above. The color of the thin border around a top-level window. The color of the caption. Windows 11 and above. The color of the caption text. Windows 11 and above. Width of the visible border around a thick frame window. Windows 11 and above. Allows to enter a value from 0 to 4 deciding on the imposed backdrop effect. Indicates whether the window should use the Mica effect. Windows 11 and above. Represents the current DWM color accent settings. ColorizationColor ColorizationAfterglow. ColorizationColorBalance. ColorizationAfterglowBalance. ColorizationBlurBalance. ColorizationGlassReflectionIntensity. ColorizationOpaqueBlend. Defines a data type used by the Desktop Window Manager (DWM) APIs. It represents a generic ratio and is used for different purposes and units even within a single API. The ratio numerator. The ratio denominator. Specifies the input operations for which visual feedback should be provided. This enumeration is used by the DwmShowContact function. Flags used by the DwmSetPresentParameters function to specify the frame sampling type. Use the first source frame that includes the first refresh of the output frame Use the source frame that includes the most refreshes of out the output frame in case of multiple source frames with the same coverage the last will be used Sentinel value. Specifies Desktop Window Manager (DWM) composition timing information. Used by the function. SIT flags. None. Displays a frame around the provided bitmap. Obtains a value that indicates whether Desktop Window Manager (DWM) composition is enabled. A pointer to a value that, when this function returns successfully, receives TRUE if DWM composition is enabled; otherwise, FALSE. If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. Extends the window frame into the client area. The handle to the window in which the frame will be extended into the client area. A pointer to a MARGINS structure that describes the margins to use when extending the frame into the client area. Retrieves the current composition timing information for a specified window. The handle to the window for which the composition timing information should be retrieved. A pointer to a structure that, when this function returns successfully, receives the current composition timing information for the window. Called by an application to indicate that all previously provided iconic bitmaps from a window, both thumbnails and peek representations, should be refreshed. A handle to the window or tab whose bitmaps are being invalidated through this call. This window must belong to the calling process. Sets a static, iconic bitmap on a window or tab to use as a thumbnail representation. The taskbar can use this bitmap as a thumbnail switch target for the window or tab. A handle to the window or tab. This window must belong to the calling process. A handle to the bitmap to represent the window that hwnd specifies. The display options for the thumbnail. Sets a static, iconic bitmap to display a live preview (also known as a Peek preview) of a window or tab. The taskbar can use this bitmap to show a full-sized preview of a window or tab. A handle to the window. This window must belong to the calling process. A handle to the bitmap to represent the window that hwnd specifies. The offset of a tab window's client region (the content area inside the client window frame) from the host window's frame. This offset enables the tab window's contents to be drawn correctly in a live preview when it is drawn without its frame. The display options for the live preview. Sets the value of Desktop Window Manager (DWM) non-client rendering attributes for a window. The handle to the window for which the attribute value is to be set. A flag describing which value to set, specified as a value of the DWMWINDOWATTRIBUTE enumeration. A pointer to an object containing the attribute value to set. The size, in bytes, of the attribute value being set via the pvAttribute parameter. If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. Sets the value of Desktop Window Manager (DWM) non-client rendering attributes for a window. The handle to the window for which the attribute value is to be set. A flag describing which value to set, specified as a value of the DWMWINDOWATTRIBUTE enumeration. A pointer to an object containing the attribute value to set. The size, in bytes, of the attribute value being set via the pvAttribute parameter. If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. Sets the value of Desktop Window Manager (DWM) non-client rendering attributes for a window. The handle to the window for which the attribute value is to be set. A flag describing which value to set, specified as a value of the DWMWINDOWATTRIBUTE enumeration. A pointer to an object containing the attribute value to set. The size, in bytes, of the attribute value being set via the pvAttribute parameter. If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. Retrieves the current value of a specified Desktop Window Manager (DWM) attribute applied to a window. For programming guidance, and code examples, see Controlling non-client region rendering. The handle to the window from which the attribute value is to be retrieved. A flag describing which value to retrieve, specified as a value of the enumeration. A pointer to a value which, when this function returns successfully, receives the current value of the attribute. The type of the retrieved value depends on the value of the dwAttribute parameter. The size, in bytes, of the attribute value being received via the pvAttribute parameter. If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. Retrieves the current value of a specified Desktop Window Manager (DWM) attribute applied to a window. For programming guidance, and code examples, see Controlling non-client region rendering. The handle to the window from which the attribute value is to be retrieved. A flag describing which value to retrieve, specified as a value of the enumeration. A pointer to a value which, when this function returns successfully, receives the current value of the attribute. The type of the retrieved value depends on the value of the dwAttribute parameter. The size, in bytes, of the attribute value being received via the pvAttribute parameter. If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. The feature is not included in the Microsoft documentation. Reads Desktop Window Manager (DWM) color information. A pointer to a reference value that will hold the color information. Common Windows API result; Operation successful. Operation successful. Operation successful. Unspecified failure. Used by multiple technologies. Retrieves the calling thread's last-error code value. The last-error code is maintained on a per-thread basis. Multiple threads do not overwrite each other's last-error code. The return value is the calling thread's last-error code. Sets the last-error code for the calling thread. The last-error code for the thread. Determines whether the calling process is being debugged by a user-mode debugger. If the current process is running in the context of a debugger, the return value is nonzero. Windows kernel module. The Windows UI provides users with access to a wide variety of objects necessary to run applications and manage the operating system. DATAOBJ_GET_ITEM_FLAGS. DOGIF_*. Shell_NotifyIcon messages. NIM_* Shell_NotifyIcon flags. NIF_* Vista only. Vista only. The size of this structure, in bytes. A handle to the window that receives notifications associated with an icon in the notification area. The application-defined identifier of the taskbar icon. The Shell uses either (hWnd plus uID) or guidItem to identify which icon to operate on when Shell_NotifyIcon is invoked. You can have multiple icons associated with a single hWnd by assigning each a different uID. If guidItem is specified, uID is ignored. Flags that either indicate which of the other members of the structure contain valid data or provide additional information to the tooltip as to how it should display. 0x00000001. The uCallbackMessage member is valid. 0x00000002. The hIcon member is valid. 0x00000004. The szTip member is valid. The state of the icon. There are two flags that can be set independently. NIS_HIDDEN = 1. The icon is hidden. NIS_SHAREDICON = 2. The icon is shared. Prior to Vista this was a union of uTimeout and uVersion. As of Vista, uTimeout has been deprecated. Sets the User Model AppID for the current process, enabling Windows to retrieve this ID The string ID Retrieves the User Model AppID that has been explicitly set for the current process via SetCurrentProcessExplicitAppUserModelID The returned string ID of the Application User Model. An HRESULT indicating success or failure of the operation. Exposes methods that enumerate the contents of a view and receive notification from callback upon enumeration completion. THUMBBUTTON flags. THBF_* THUMBBUTTON mask. THB_* TBPF_* STPF_* EBO_* EBF_* THUMBBUTTON WPARAM value for a THUMBBUTTON being clicked. Class DECLSPEC_UUID("56FDF344-FD6D-11d0-958A-006097C9A090") Class DECLSPEC_UUID("9ac9fbe1-e0a2-4ad6-b4ee-e212013ea917") MIDL_INTERFACE("c43dc798-95d1-4bea-9030-bb99e2983a1a") ITaskbarList4 : public ITaskbarList3 Adds thumbnail toolbar buttons to the specified window. Window handle. Number of buttons. Array of buttons. HRESULT Updates thumbnail toolbar buttons for the specified window. Window handle. Number of buttons. Array of buttons to update. HRESULT A set of dangerous methods to modify the appearance. Tries to set the corner preference. Selected window. Window corner preference. if invocation of native Windows function succeeds. Tries to set the corner preference of the selected window. Selected window handle. Window corner preference. if invocation of native Windows function succeeds. Tries to remove ImmersiveDarkMode effect from the . The window to which the effect is to be applied. if invocation of native Windows function succeeds. Tries to remove ImmersiveDarkMode effect from the window handle. Window handle. if invocation of native Windows function succeeds. Tries to apply ImmersiveDarkMode effect for the . The window to which the effect is to be applied. if invocation of native Windows function succeeds. Tries to apply ImmersiveDarkMode effect for the window handle. Window handle. if invocation of native Windows function succeeds. Tries to remove titlebar from selected . The window to which the effect is to be applied. if invocation of native Windows function succeeds. Tries to remove titlebar from selected window handle. Window handle. if invocation of native Windows function succeeds. Tries to apply selected backdrop type for window handle. Selected window handle. Backdrop type. if invocation of native Windows function succeeds. Tries to determine whether the provided has applied legacy backdrop effect. Window handle. Background backdrop type. Tries to determine whether the provided has applied legacy Mica effect. Window to check. Tries to determine whether the provided handle has applied legacy Mica effect. Window handle. Tries to apply legacy Mica effect for the selected . The window to which the effect is to be applied. if invocation of native Windows function succeeds. Tries to apply legacy Mica effect for the selected . Window handle. if invocation of native Windows function succeeds. Tries to apply legacy Acrylic effect for the selected . The window to which the effect is to be applied. if invocation of native Windows function succeeds. Tries to apply legacy Acrylic effect for the selected . Window handle if invocation of native Windows function succeeds. Tries to get currently selected Window accent color. Tries to set taskbar state for the selected window handle. Window handle. Taskbar flag. Updates the taskbar progress bar value for a window. The handle to the window. Progress state flag (paused, etc). Current progress value. Maximum progress value. True if successful updated, otherwise false. Checks whether the DWM composition is enabled. Checks if provided pointer represents existing window. Tries to get the pointer to the window handle. if the handle is not . A set of dangerous methods to modify the appearance. Casts to . Casts to . Casts to . Casts to . USER procedure declarations, constant definitions and macros. SetWindowPos options EnableMenuItem uEnable values, MF_* Possible return value for EnableMenuItem Menu item element. SCF_ISSECURE WM_NCHITTEST and MOUSEHOOKSTRUCT Mouse Position Codes Hit test returned error. Hit test returned transparent. On the screen background or on a dividing line between windows. In a client area. In a title bar. In a window menu or in a Close button in a child window. In a size box (same as HTSIZE). In a menu. In a horizontal scroll bar. In the vertical scroll bar. In a Minimize button. In a Maximize button. In the left border of a resizable window (the user can click the mouse to resize the window horizontally). In the right border of a resizable window (the user can click the mouse to resize the window horizontally). In the upper-horizontal border of a window. Window long flags. Sets a new extended window style. Sets a new application instance handle. Sets a new hWnd parent. Sets a new identifier of the child window. The window cannot be a top-level window. Sets a new window style. Sets the user data associated with the window. This data is intended for use by the application that created the window. Its value is initially zero. Sets a new address for the window procedure. You cannot change this attribute if the window does not belong to the same process as the calling thread. Sets new extra information that is private to the application, such as handles or pointers. Sets the return value of a message processed in the dialog box procedure. Sets the new address of the dialog box procedure. Window composition attributes. DWM window accent state. WCA window accent policy. CS_* MSGFLT_*. New in Vista. Realiased in Windows 7. Resets the window message filter for hWnd to the default. Any message allowed globally or process-wide will get through, but any message not included in those two categories, and which comes from a lower privileged process, will be blocked. Allows the message through the filter. This enables the message to be received by hWnd, regardless of the source of the message, even it comes from a lower privileged process. Blocks the message to be delivered to hWnd if it comes from a lower privileged process, unless the message is allowed process-wide by using the ChangeWindowMessageFilter function or globally. MSGFLTINFO. Win7 only. Window message values, WM_* This is the hard-coded message value used by WinForms for Shell_NotifyIcon. It's relatively safe to reuse. WindowStyle values, WS_* Window style extended values, WS_EX_* SystemMetrics. SM_* ShowWindow options Contains window class information. It is used with the and GetClassInfoEx functions. The size, in bytes, of this structure. Set this member to sizeof(WNDCLASSEX). Be sure to set this member before calling the GetClassInfoEx function. The class style(s). This member can be any combination of the Class Styles. A pointer to the window procedure. You must use the CallWindowProc function to call the window procedure. For more information, see WindowProc. The number of extra bytes to allocate following the window-class structure. The system initializes the bytes to zero. The number of extra bytes to allocate following the window instance. The system initializes the bytes to zero. If an application uses WNDCLASSEX to register a dialog box created by using the CLASS directive in the resource file, it must set this member to DLGWINDOWEXTRA. A handle to the instance that contains the window procedure for the class. A handle to the class icon. This member must be a handle to an icon resource. If this member is NULL, the system provides a default icon. A handle to the class cursor. This member must be a handle to a cursor resource. If this member is NULL, an application must explicitly set the cursor shape whenever the mouse moves into the application's window. A handle to the class background brush. This member can be a handle to the brush to be used for painting the background, or it can be a color value. Pointer to a null-terminated character string that specifies the resource name of the class menu, as the name appears in the resource file. If you use an integer to identify the menu, use the MAKEINTRESOURCE macro. If this member is NULL, windows belonging to this class have no default menu. A pointer to a null-terminated string or is an atom. If this parameter is an atom, it must be a class atom created by a previous call to the RegisterClass or RegisterClassEx function. The atom must be in the low-order word of lpszClassName; the high-order word must be zero. A handle to a small icon that is associated with the window class. If this member is NULL, the system searches the icon resource specified by the hIcon member for an icon of the appropriate size to use as the small icon. Delegate declaration that matches native WndProc signatures. Delegate declaration that matches native WndProc signatures. Delegate declaration that matches managed WndProc signatures. The ReleaseDC function releases a device context (DC), freeing it for use by other applications. The effect of the ReleaseDC function depends on the type of DC. It frees only common and window DCs. It has no effect on class or private DCs. A handle to the window whose DC is to be released. A handle to the DC to be released. The return value indicates whether the DC was released. If the DC was released, the return value is 1. If the DC was not released, the return value is zero. Calculates the required size of the window rectangle, based on the desired size of the client rectangle. The window rectangle can then be passed to the CreateWindowEx function to create a window whose client area is the desired size. A pointer to a RECT structure that contains the coordinates of the top-left and bottom-right corners of the desired client area. The window style of the window whose required size is to be calculated. Note that you cannot specify the WS_OVERLAPPED style. Indicates whether the window has a menu. The extended window style of the window whose required size is to be calculated. If the function succeeds, the return value is nonzero. [Using the ChangeWindowMessageFilter function is not recommended, as it has process-wide scope. Instead, use the ChangeWindowMessageFilterEx function to control access to specific windows as needed. ChangeWindowMessageFilter may not be supported in future versions of Windows. Adds or removes a message from the User Interface Privilege Isolation(UIPI) message filter. The message to add to or remove from the filter. The action to be performed. One of the following values. if successful; otherwise, . To get extended error information, call . Modifies the User Interface Privilege Isolation (UIPI) message filter for a specified window. A handle to the window whose UIPI message filter is to be modified. The message that the message filter allows through or blocks. The action to be performed. Optional pointer to a structure. If the function succeeds, it returns ; otherwise, it returns . To get extended error information, call . Places (posts) a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message. Unicode declaration for A handle to the window whose window procedure is to receive the message. The message to be posted. Additional message-specific information. Additional message-specific information.~ If the function succeeds, the return value is nonzero. Places (posts) a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message. ANSI declaration for A handle to the window whose window procedure is to receive the message. The message to be posted. Additional message-specific information. Additional message-specific information.~ If the function succeeds, the return value is nonzero. Places (posts) a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message. A handle to the window whose window procedure is to receive the message. The message to be posted. Additional message-specific information. Additional message-specific information.~ If the function succeeds, the return value is nonzero. Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message. A handle to the window whose window procedure will receive the message. The message to be sent. Additional message-specific information. Additional message-specific information.~ The return value specifies the result of the message processing; it depends on the message sent. Creates an overlapped, pop-up, or child window with an extended window style; otherwise, this function is identical to the CreateWindow function. For more information about creating a window and for full descriptions of the other parameters of CreateWindowEx, see CreateWindow. The extended window style of the window being created. A null-terminated string or a class atom created by a previous call to the RegisterClass or RegisterClassEx function. The window name. If the window style specifies a title bar, the window title pointed to by lpWindowName is displayed in the title bar. The style of the window being created. This parameter can be a combination of the window style values, plus the control styles indicated in the Remarks section. The initial horizontal position of the window. For an overlapped or pop-up window, the x parameter is the initial x-coordinate of the window's upper-left corner, in screen coordinates. The initial vertical position of the window. For an overlapped or pop-up window, the y parameter is the initial y-coordinate of the window's upper-left corner, in screen coordinates. The width, in device units, of the window. For overlapped windows, nWidth is the window's width, in screen coordinates, or CW_USEDEFAULT. The height, in device units, of the window. For overlapped windows, nHeight is the window's height, in screen coordinates. If the nWidth parameter is set to CW_USEDEFAULT, the system ignores nHeight. A handle to the parent or owner window of the window being created. To create a child window or an owned window, supply a valid window handle. This parameter is optional for pop-up windows. A handle to a menu, or specifies a child-window identifier, depending on the window style. For an overlapped or pop-up window, hMenu identifies the menu to be used with the window; it can be NULL if the class menu is to be used. A handle to the instance of the module to be associated with the window. Pointer to a value to be passed to the window through the CREATESTRUCT structure (lpCreateParams member) pointed to by the lParam param of the WM_CREATE message. This message is sent to the created window by this function before it returns. If the function succeeds, the return value is a handle to the new window. Creates an overlapped, pop-up, or child window with an extended window style; otherwise, this function is identical to the CreateWindow function. For more information about creating a window and for full descriptions of the other parameters of CreateWindowEx, see CreateWindow. The extended window style of the window being created. A null-terminated string or a class atom created by a previous call to the RegisterClass or RegisterClassEx function. The window name. If the window style specifies a title bar, the window title pointed to by lpWindowName is displayed in the title bar. The style of the window being created. This parameter can be a combination of the window style values, plus the control styles indicated in the Remarks section. The initial horizontal position of the window. For an overlapped or pop-up window, the x parameter is the initial x-coordinate of the window's upper-left corner, in screen coordinates. The initial vertical position of the window. For an overlapped or pop-up window, the y parameter is the initial y-coordinate of the window's upper-left corner, in screen coordinates. The width, in device units, of the window. For overlapped windows, nWidth is the window's width, in screen coordinates, or CW_USEDEFAULT. The height, in device units, of the window. For overlapped windows, nHeight is the window's height, in screen coordinates. If the nWidth parameter is set to CW_USEDEFAULT, the system ignores nHeight. A handle to the parent or owner window of the window being created. To create a child window or an owned window, supply a valid window handle. This parameter is optional for pop-up windows. A handle to a menu, or specifies a child-window identifier, depending on the window style. For an overlapped or pop-up window, hMenu identifies the menu to be used with the window; it can be NULL if the class menu is to be used. A handle to the instance of the module to be associated with the window. Pointer to a value to be passed to the window through the CREATESTRUCT structure (lpCreateParams member) pointed to by the lParam param of the WM_CREATE message. This message is sent to the created window by this function before it returns. If the function succeeds, the return value is a handle to the new window. Registers a window class for subsequent use in calls to the CreateWindow or CreateWindowEx function. Unicode declaration for A pointer to a structure. You must fill the structure with the appropriate class attributes before passing it to the function. If the function succeeds, the return value is a class atom that uniquely identifies the class being registered. Registers a window class for subsequent use in calls to the CreateWindow or CreateWindowEx function. ANSI declaration for A pointer to a structure. You must fill the structure with the appropriate class attributes before passing it to the function. If the function succeeds, the return value is a class atom that uniquely identifies the class being registered. Registers a window class for subsequent use in calls to the CreateWindow or CreateWindowEx function. A pointer to a structure. You must fill the structure with the appropriate class attributes before passing it to the function. If the function succeeds, the return value is a class atom that uniquely identifies the class being registered. Calls the default window procedure to provide default processing for any window messages that an application does not process. This function ensures that every message is processed. DefWindowProc is called with the same parameters received by the window procedure. Unicode declaration for A handle to the window procedure that received the message. The message. Additional message information. The content of this parameter depends on the value of the Msg parameter. Additional message information. The content of this parameter depends on the value of the Msg parameter.~ The return value is the result of the message processing and depends on the message. Calls the default window procedure to provide default processing for any window messages that an application does not process. This function ensures that every message is processed. DefWindowProc is called with the same parameters received by the window procedure. ANSI declaration for A handle to the window procedure that received the message. The message. Additional message information. The content of this parameter depends on the value of the Msg parameter. Additional message information. The content of this parameter depends on the value of the Msg parameter.~ The return value is the result of the message processing and depends on the message. Calls the default window procedure to provide default processing for any window messages that an application does not process. This function ensures that every message is processed. DefWindowProc is called with the same parameters received by the window procedure. A handle to the window procedure that received the message. The message. Additional message information. The content of this parameter depends on the value of the Msg parameter. Additional message information. The content of this parameter depends on the value of the Msg parameter.~ The return value is the result of the message processing and depends on the message. Retrieves information about the specified window. The function also retrieves the 32-bit (DWORD) value at the specified offset into the extra window memory. If you are retrieving a pointer or a handle, this function has been superseded by the function. Unicode declaration for A handle to the window and, indirectly, the class to which the window belongs. The zero-based offset to the value to be retrieved. If the function succeeds, the return value is the requested value. Retrieves information about the specified window. The function also retrieves the 32-bit (DWORD) value at the specified offset into the extra window memory. If you are retrieving a pointer or a handle, this function has been superseded by the function. ANSI declaration for A handle to the window and, indirectly, the class to which the window belongs. The zero-based offset to the value to be retrieved. If the function succeeds, the return value is the requested value. Retrieves information about the specified window. The function also retrieves the 32-bit (DWORD) value at the specified offset into the extra window memory. If you are retrieving a pointer or a handle, this function has been superseded by the function. A handle to the window and, indirectly, the class to which the window belongs. The zero-based offset to the value to be retrieved. If the function succeeds, the return value is the requested value. Retrieves information about the specified window. The function also retrieves the 32-bit (DWORD) value at the specified offset into the extra window memory. If you are retrieving a pointer or a handle, this function has been superseded by the function. A handle to the window and, indirectly, the class to which the window belongs. The zero-based offset to the value to be retrieved. If the function succeeds, the return value is the requested value. Retrieves information about the specified window. The function also retrieves the value at a specified offset into the extra window memory. Unicode declaration for A handle to the window and, indirectly, the class to which the window belongs. The zero-based offset to the value to be retrieved. If the function succeeds, the return value is the requested value. Retrieves information about the specified window. The function also retrieves the value at a specified offset into the extra window memory. ANSI declaration for A handle to the window and, indirectly, the class to which the window belongs. The zero-based offset to the value to be retrieved. If the function succeeds, the return value is the requested value. Retrieves information about the specified window. The function also retrieves the value at a specified offset into the extra window memory. A handle to the window and, indirectly, the class to which the window belongs. The zero-based offset to the value to be retrieved. If the function succeeds, the return value is the requested value. Changes an attribute of the specified window. The function also sets the 32-bit (long) value at the specified offset into the extra window memory. Note: This function has been superseded by the function. To write code that is compatible with both 32-bit and 64-bit versions of Windows, use the SetWindowLongPtr function. Unicode declaration for A handle to the window and, indirectly, the class to which the window belongs. The zero-based offset to the value to be set. Valid values are in the range zero through the number of bytes of extra window memory, minus the size of an integer. The replacement value. If the function succeeds, the return value is the previous value of the specified 32-bit integer. Changes an attribute of the specified window. The function also sets the 32-bit (long) value at the specified offset into the extra window memory. Note: This function has been superseded by the function. To write code that is compatible with both 32-bit and 64-bit versions of Windows, use the SetWindowLongPtr function. ANSI declaration for A handle to the window and, indirectly, the class to which the window belongs. The zero-based offset to the value to be set. Valid values are in the range zero through the number of bytes of extra window memory, minus the size of an integer. The replacement value. If the function succeeds, the return value is the previous value of the specified 32-bit integer. Changes an attribute of the specified window. The function also sets the 32-bit (long) value at the specified offset into the extra window memory. Note: This function has been superseded by the function. To write code that is compatible with both 32-bit and 64-bit versions of Windows, use the SetWindowLongPtr function. A handle to the window and, indirectly, the class to which the window belongs. The zero-based offset to the value to be set. Valid values are in the range zero through the number of bytes of extra window memory, minus the size of an integer. The replacement value. If the function succeeds, the return value is the previous value of the specified 32-bit integer. Changes an attribute of the specified window. The function also sets the 32-bit (long) value at the specified offset into the extra window memory. Note: This function has been superseded by the function. To write code that is compatible with both 32-bit and 64-bit versions of Windows, use the SetWindowLongPtr function. ANSI declaration for A handle to the window and, indirectly, the class to which the window belongs. The zero-based offset to the value to be set. Valid values are in the range zero through the number of bytes of extra window memory, minus the size of an integer. The replacement value. If the function succeeds, the return value is the previous value of the specified 32-bit integer. Changes an attribute of the specified window. The function also sets the 32-bit (long) value at the specified offset into the extra window memory. Note: This function has been superseded by the function. To write code that is compatible with both 32-bit and 64-bit versions of Windows, use the SetWindowLongPtr function. ANSI declaration for A handle to the window and, indirectly, the class to which the window belongs. The zero-based offset to the value to be set. Valid values are in the range zero through the number of bytes of extra window memory, minus the size of an integer. New window style. If the function succeeds, the return value is the previous value of the specified 32-bit integer. Changes an attribute of the specified window. The function also sets a value at the specified offset in the extra window memory. Unicode declaration for A handle to the window and, indirectly, the class to which the window belongs. The zero-based offset to the value to be set. The replacement value. If the function succeeds, the return value is the previous value of the specified offset. Changes an attribute of the specified window. The function also sets a value at the specified offset in the extra window memory. ANSI declaration for A handle to the window and, indirectly, the class to which the window belongs. The zero-based offset to the value to be set. The replacement value. If the function succeeds, the return value is the previous value of the specified offset. Changes an attribute of the specified window. The function also sets a value at the specified offset in the extra window memory. A handle to the window and, indirectly, the class to which the window belongs. The zero-based offset to the value to be set. The replacement value. If the function succeeds, the return value is the previous value of the specified offset. Changes an attribute of the specified window. Destroys an icon and frees any memory the icon occupied. A handle to the icon to be destroyed. The icon must not be in use. If the function succeeds, the return value is nonzero. Determines whether the specified window handle identifies an existing window. A handle to the window to be tested. If the window handle identifies an existing window, the return value is nonzero. Destroys the specified window. The function sends WM_DESTROY and WM_NCDESTROY messages to the window to deactivate it and remove the keyboard focus from it. A handle to the window to be destroyed. If the function succeeds, the return value is nonzero. Retrieves the show state and the restored, minimized, and maximized positions of the specified window. A handle to the window. A pointer to the structure that receives the show state and position information. Before calling GetWindowPlacement, set the length member to sizeof(WINDOWPLACEMENT). GetWindowPlacement fails if lpwndpl-> length is not set correctly. If the function succeeds, the return value is nonzero. Retrieves the dimensions of the bounding rectangle of the specified window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen. A handle to the window. A pointer to a RECT structure that receives the screen coordinates of the upper-left and lower-right corners of the window. If the function succeeds, the return value is nonzero. Determines the visibility state of the specified window. A handle to the window to be tested. If the specified window, its parent window, its parent's parent window, and so forth, have the WS_VISIBLE style, the return value is nonzero. Otherwise, the return value is zero. Determines whether the specified window is enabled for mouse and keyboard input. A handle to the window to be tested. If the window is enabled, the return value is nonzero. The MonitorFromWindow function retrieves a handle to the display monitor that has the largest area of intersection with the bounding rectangle of a specified window. A handle to the window of interest. Determines the function's return value if the window does not intersect any display monitor. If the window intersects one or more display monitor rectangles, the return value is an HMONITOR handle to the display monitor that has the largest area of intersection with the window. Retrieves the specified system metric or system configuration setting. Note that all dimensions retrieved by GetSystemMetrics are in pixels. The system metric or configuration setting to be retrieved. This parameter can be one of the values. Note that all SM_CX* values are widths and all SM_CY* values are heights. Also note that all settings designed to return Boolean data represent as any nonzero value, and as a zero value. If the function succeeds, the return value is the requested system metric or configuration setting. Defines a new window message that is guaranteed to be unique throughout the system. The message value can be used when sending or posting messages. Unicode declaration for The message to be registered. If the message is successfully registered, the return value is a message identifier in the range 0xC000 through 0xFFFF. Defines a new window message that is guaranteed to be unique throughout the system. The message value can be used when sending or posting messages. ANSI declaration for The message to be registered. If the message is successfully registered, the return value is a message identifier in the range 0xC000 through 0xFFFF. Defines a new window message that is guaranteed to be unique throughout the system. The message value can be used when sending or posting messages. The message to be registered. If the message is successfully registered, the return value is a message identifier in the range 0xC000 through 0xFFFF. Activates a window. The window must be attached to the calling thread's message queue. A handle to the top-level window to be activated. If the function succeeds, the return value is the handle to the window that was previously active. Brings the thread that created the specified window into the foreground and activates the window. Keyboard input is directed to the window, and various visual cues are changed for the user. The system assigns a slightly higher priority to the thread that created the foreground window than it does to other threads. A handle to the window that should be activated and brought to the foreground. If the window was brought to the foreground, the return value is nonzero. Retrieves the position of the mouse cursor, in screen coordinates. A pointer to a structure that receives the screen coordinates of the cursor. Returns nonzero if successful or zero otherwise. To get extended error information, call . Enables, disables, or grays the specified menu item. A handle to the menu. The menu item to be enabled, disabled, or grayed, as determined by the uEnable parameter. Controls the interpretation of the uIDEnableItem parameter and indicate whether the menu item is enabled, disabled, or grayed. The return value specifies the previous state of the menu item (it is either MF_DISABLED, MF_ENABLED, or MF_GRAYED). If the menu item does not exist, the return value is -1 (). The SetWindowRgn function sets the window region of a window. The window region determines the area within the window where the system permits drawing. The system does not display any portion of a window that lies outside of the window region. A handle to the window whose window region is to be set. A handle to a region. The function sets the window region of the window to this region. Specifies whether the system redraws the window after setting the window region. If bRedraw is , the system does so; otherwise, it does not. Native method returned HRESULT. Changes the size, position, and Z order of a child, pop-up, or top-level window. These windows are ordered according to their appearance on the screen. The topmost window receives the highest rank and is the first window in the Z order. A handle to the window. A handle to the window to precede the positioned window in the Z order. The new position of the left side of the window, in client coordinates. The new position of the top of the window, in client coordinates. The new width of the window, in pixels. The new height of the window, in pixels. The window sizing and positioning flags. If the function succeeds, the return value is nonzero. Sets the process-default DPI awareness to system-DPI awareness. This is equivalent to calling SetProcessDpiAwarenessContext with a DPI_AWARENESS_CONTEXT value of DPI_AWARENESS_CONTEXT_SYSTEM_AWARE. Sets various information regarding DWM window attributes. Sets various information regarding DWM window attributes. Returns the dots per inch (dpi) value for the specified window. The window that you want to get information about. The DPI for the window, which depends on the DPI_AWARENESS of the window. Returns the dots per inch (dpi) value for the specified window. The window that you want to get information about. The DPI for the window, which depends on the DPI_AWARENESS of the window. Returned by the GetThemeMargins function to define the margins of windows that have visual styles applied. Width of left border that retains its size. Width of right border that retains its size. Height of top border that retains its size. Height of bottom border that retains its size. Specifies the type of visual style attribute to set on a window. Non-client area window attributes will be set. WindowThemeNonClientAttributes Prevents the window caption from being drawn. Prevents the system icon from being drawn. Prevents the system icon menu from appearing. Prevents mirroring of the question mark, even in right-to-left (RTL) layout. A mask that contains all the valid bits. Defines options that are used to set window visual style attributes. A combination of flags that modify window visual style attributes. Can be a combination of the WTNCA constants. A bitmask that describes how the values specified in dwFlags should be applied. If the bit corresponding to a value in dwFlags is 0, that flag will be removed. If the bit is 1, the flag will be added. Sets attributes to control how visual styles are applied to a specified window. Handle to a window to apply changes to. Value of type WINDOWTHEMEATTRIBUTETYPE that specifies the type of attribute to set. The value of this parameter determines the type of data that should be passed in the pvAttribute parameter. Can be the following value: WTA_NONCLIENT (Specifies non-client related attributes). pvAttribute must be a pointer of type WTA_OPTIONS. A pointer that specifies attributes to set. Type is determined by the value of the eAttribute value. Specifies the size, in bytes, of the data pointed to by pvAttribute. Tests if a visual style for the current application is active. if a visual style is enabled, and windows with visual styles applied should call OpenThemeData to start using theme drawing services. Retrieves the name of the current visual style, and optionally retrieves the color scheme name and size name. Pointer to a string that receives the theme path and file name. Value of type int that contains the maximum number of characters allowed in the theme file name. Pointer to a string that receives the color scheme name. This parameter may be set to NULL. Value of type int that contains the maximum number of characters allowed in the color scheme name. Pointer to a string that receives the size name. This parameter may be set to NULL. Value of type int that contains the maximum number of characters allowed in the size name. HRESULT The POINT structure defines the x- and y-coordinates of a point. Specifies the x-coordinate of the point. Specifies the y-coordinate of the point. The structure defines the x- and y-coordinates of a point. Specifies the x-coordinate of the point. Specifies the y-coordinate of the point. The RECT structure defines a rectangle by the coordinates of its upper-left and lower-right corners. Gets or sets the x-coordinate of the upper-left corner of the rectangle. Gets or sets the x-coordinate of the lower-right corner of the rectangle. Gets or sets the y-coordinate of the upper-left corner of the rectangle. Gets or sets the y-coordinate of the lower-right corner of the rectangle. Gets the width of the rectangle. Gets the height of the rectangle. Gets the position of the rectangle. Gets the size of the rectangle. Sets offset of the rectangle. Combines two RECTs. The RECTL structure defines a rectangle by the coordinates of its upper-left and lower-right corners. Gets or sets the x-coordinate of the upper-left corner of the rectangle. Gets or sets the x-coordinate of the lower-right corner of the rectangle. Gets or sets the y-coordinate of the upper-left corner of the rectangle. Gets or sets the y-coordinate of the lower-right corner of the rectangle. Gets the width of the rectangle. Gets the height of the rectangle. Gets the position of the rectangle. Gets the size of the rectangle. Sets offset of the rectangle. Combines two RECTLs The SIZE structure defines the width and height of a rectangle. Specifies the rectangle's width. The units depend on which function uses this structure. Specifies the rectangle's height. The units depend on which function uses this structure. Represents a contract with the service that provides global . Gets or sets a time for which the should be visible. (By default 2 seconds) Sets the inside of which the snackbar will be placed. The new will replace the current . Provides direct access to the currently in use. Shows the snackbar. If it is already visible, firstly hides it for a moment, changes its content, and then shows it again. Name displayed on top of snackbar. Message inside the snackbar. Display style. Additional icon on the left. The time after which the snackbar should disappear. Represents a contract with a service that provides methods for manipulating the taskbar. Gets taskbar state of the selected window handle. Window handle. The current state of system TaskBar. Gets taskbar state of the selected window. Selected window. The current state of system TaskBar. Sets taskbar state of the selected window handle. Window handle to modify. Progress sate to set. if the operation succeeds. otherwise. Sets taskbar value of the selected window handle. Window handle to modify. Progress sate to set. Current value to display. Maximum number for division. if the operation succeeds. otherwise. Sets taskbar value of the selected window handle. Window handle to modify. Current value to display. Maximum number for division. if the operation succeeds. otherwise. Sets taskbar state of the selected window. Window to modify. Progress sate to set. if the operation succeeds. otherwise. Sets taskbar value of the selected window. Window to modify. Progress sate to set. Current value to display. Maximum number for division. if the operation succeeds. otherwise. Sets taskbar value of the selected window. Window to modify. Current value to display. Maximum number for division. if the operation succeeds. otherwise. Represents a contract with a service that provides tools for manipulating the theme. Gets current application theme. Currently set application theme. Gets current system theme. Currently set Windows theme. Gets current system theme. Currently set Windows theme using system enumeration. Sets current application theme. Theme type to set. if the operation succeeds. otherwise. Sets currently used Windows OS accent. if the operation succeeds. otherwise. Sets current application accent. if the operation succeeds. otherwise. Sets current application accent. if the operation succeeds. otherwise. Provides a dictionary implementation that contains WPF UI controls resources used by components and other elements of a WPF application. <Application xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"> <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ui:ControlsDictionary /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources> </Application> Initializes a new instance of the class. Default constructor defining of the WPF UI controls dictionary. Custom design time attributes based on Marcin Najder implementation. <ui:FluentWindow xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" ui:Design.Background="{DynamicResource ApplicationBackgroundBrush}" ui:Design.Foreground="{DynamicResource TextFillColorPrimaryBrush}"> <Button Content="Hello World" /> </FluentWindow> Gets a value indicating whether the framework is in design-time mode. (Caliburn.Micro implementation) Helper for getting from . to read from. Background property value. Helper for setting on . to set on. Background property value. Helper for getting from . to read from. Foreground property value. Helper for setting on . to set on. Foreground property value. Custom which can provide . <ui:Button Appearance="Primary" Content="WPF UI button with font icon" Icon="{ui:FontIcon '🌈'}" /> <ui:Button Icon="{ui:FontIcon '&#x1F308;'}" /> <ui:HyperlinkButton Icon="{ui:FontIcon '&#x1F308;'}" /> <ui:TitleBar Icon="{ui:FontIcon '&#x1F308;'}" /> Custom which can provide . <ui:Button Appearance="Primary" Content="WPF UI button with font icon" Icon="{ui:ImageIcon '/my-icon.png'}" /> <ui:Button Icon="{ui:ImageIcon 'pack://application:,,,/Assets/wpfui.png'}" /> <ui:HyperlinkButton Icon="{ui:ImageIcon 'pack://application:,,,/Assets/wpfui.png'}" /> <ui:TitleBar Icon="{ui:ImageIcon 'pack://application:,,,/Assets/wpfui.png'}" /> Custom which can provide . <ui:Button Appearance="Primary" Content="WPF UI button with font icon" Icon="{ui:SymbolIcon Symbol=Fluent24}" /> <ui:Button Icon="{ui:SymbolIcon Fluent24}" /> <ui:HyperlinkButton Icon="{ui:SymbolIcon Fluent24}" /> <ui:TitleBar Icon="{ui:SymbolIcon Fluent24}" /> Collection of theme resources. <ui:TextBox Foreground={ui:ThemeResource TextFillColorSecondaryBrush} /> Unspecified theme resource. Gradient . Gradient . Gradient . Class for Xaml markup extension for static resource references. <ui:Button Appearance="Primary" Content="WPF UI button with font icon" Foreground={ui:ThemeResource SystemAccentColorPrimaryBrush} /> <ui:TextBox Foreground={ui:ThemeResource TextFillColorSecondaryBrush} /> Initializes a new instance of the class. Initializes a new instance of the class. Takes the resource key that this is a static reference to. Provides a dictionary implementation that contains WPF UI theme resources used by components and other elements of a WPF application. <Application xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"> <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ui:ThemesDictionary Theme = "Dark" /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources> </Application> Sets the default application theme. A service that provides methods related to navigation. A service that provides methods related to navigation. Gets or sets the control representing navigation. Set of properties used when creating a new simple content dialog. Gets or sets a name at the top of the content dialog. Gets or sets a message displayed in the content dialog. Gets or sets the name of the button that closes the content dialog. Gets or sets the default text of the primary button at the bottom of the content dialog. If not added, or , it will not be displayed. Gets or sets the default text of the secondary button at the bottom of the content dialog. If not added, or , it will not be displayed. A service that provides methods related to displaying the . Allows you to manage the animations of the window icon in the taskbar. Allows to change the status of the displayed notification in the application icon on the TaskBar. Gets a value indicating whether the current operating system supports task bar manipulation. Allows to change the status of the progress bar in the task bar. Window to manipulate. State of the progress indicator. Allows to change the status of the progress bar in the task bar. Window handle. State of the progress indicator. Allows to change the fill of the task bar. Window to manipulate. Progress sate to set. Current value to display Allows to change the fill of the task bar. Window to manipulate. Progress sate to set. Current value to display Total number for division. Allows to change the fill of the task bar. Window handle. Progress sate to set. Current value to display Allows to change the fill of the task bar. Window handle. Progress sate to set. Current value to display Total number for division. Specifies the state of the progress indicator in the Windows task bar. No progress indicator is displayed in the task bar area. A pulsing green (W10) or gray (W11) indicator is displayed in the task bar area. A green progress indicator is displayed in the task bar area. A red progress indicator is displayed in the task bar area. A yellow progress indicator is displayed in the task bar area. Lets you set the app theme. Represents a UI application. Initializes a new instance of the class. Gets a value indicating whether the application is running outside of the desktop app context. Gets the current application. Gets or sets the application's main window. Gets or sets the application's resources. Gets or sets the application's main window. Turns the application's into shutdown mode. Allows to get the WPF UI assembly through . Gets the WPF UI assembly. Common Window utilities. Gets a value indicating whether the operating system is NT or newer. Gets a value indicating whether the operating system version is greater than or equal to 6.0. Gets a value indicating whether the operating system version is greater than or equal to 6.1. Gets a value indicating whether the operating system version is greater than or equal to 6.2. Gets a value indicating whether the operating system version is greater than or equal to 10.0* (build 10240). Gets a value indicating whether the operating system version is greater than or equal to 10.0* (build 22000). Gets a value indicating whether the operating system version is greater than or equal to 10.0* (build 22523). Gets a value indicating whether the operating system version is greater than or equal to 10.0* (build 22557). Gets a value indicating whether Desktop Window Manager (DWM) composition is enabled. Tries to get the OS version from the Windows registry. GeneratedInternalTypeHelper CreateInstance GetPropertyValue SetPropertyValue CreateDelegate AddEventHandler Specifies that null is allowed as an input even if the corresponding type disallows it. Specifies that null is disallowed as an input even if the corresponding type allows it. Applied to a method that will never return under any circumstance. Specifies that the method will not return if the associated Boolean parameter is passed the specified value. Initializes the attribute with the specified parameter value. The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to the associated parameter matches this value. Gets the condition parameter value. Indicates that an API is experimental and it may change in the future. This attribute allows call sites to be flagged with a diagnostic that indicates that an experimental feature is used. Authors can use this attribute to ship preview features in their assemblies. Initializes a new instance of the class, specifying the ID that the compiler will use when reporting a use of the API the attribute applies to. The ID that the compiler will use when reporting a use of the API the attribute applies to. Gets the ID that the compiler will use when reporting a use of the API the attribute applies to. The unique diagnostic ID. The diagnostic ID is shown in build output for warnings and errors. This property represents the unique ID that can be used to suppress the warnings or errors, if needed. Gets or sets the URL for corresponding documentation. The API accepts a format string instead of an actual URL, creating a generic URL that includes the diagnostic ID. The format string that represents a URL to corresponding documentation. An example format string is https://contoso.com/obsoletion-warnings/{0}. Specifies that an output may be null even if the corresponding type disallows it. Specifies that when a method returns , the parameter may be null even if the corresponding type disallows it. Initializes the attribute with the specified return value condition. The return value condition. If the method returns this value, the associated parameter may be null. Gets the return value condition. Specifies that the method or property will ensure that the listed field and property members have not-null values. Initializes the attribute with a field or property member. The field or property member that is promised to be not-null. Initializes the attribute with the list of field and property members. The list of field and property members that are promised to be not-null. Gets field or property member names. Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition. Initializes the attribute with the specified return value condition and a field or property member. The return value condition. If the method returns this value, the associated parameter will not be null. The field or property member that is promised to be not-null. Initializes the attribute with the specified return value condition and list of field and property members. The return value condition. If the method returns this value, the associated parameter will not be null. The list of field and property members that are promised to be not-null. Gets the return value condition. Gets field or property member names. Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns. Specifies that the output will be non-null if the named parameter is non-null. Initializes the attribute with the associated parameter name. The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null. Gets the associated parameter name. Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. Initializes the attribute with the specified return value condition. The return value condition. If the method returns this value, the associated parameter will not be null. Gets the return value condition. Specifies that this constructor sets all required members for the current type, and callers do not need to set any required members themselves. Specifies the syntax used in a string. Initializes the with the identifier of the syntax used. The syntax identifier. Initializes the with the identifier of the syntax used. The syntax identifier. Optional arguments associated with the specific syntax employed. Gets the identifier of the syntax used. Optional arguments associated with the specific syntax employed. The syntax identifier for strings containing composite formats for string formatting. The syntax identifier for strings containing date format specifiers. The syntax identifier for strings containing date and time format specifiers. The syntax identifier for strings containing format specifiers. The syntax identifier for strings containing format specifiers. The syntax identifier for strings containing JavaScript Object Notation (JSON). The syntax identifier for strings containing numeric format specifiers. The syntax identifier for strings containing regular expressions. The syntax identifier for strings containing time format specifiers. The syntax identifier for strings containing format specifiers. The syntax identifier for strings containing URIs. The syntax identifier for strings containing XML. Used to indicate a byref escapes and is not scoped. There are several cases where the C# compiler treats a as implicitly - where the compiler does not allow the to escape the method. For example: for instance methods. parameters that refer to types. parameters. This attribute is used in those instances where the should be allowed to escape. Applying this attribute, in any form, has impact on consumers of the applicable API. It is necessary for API authors to understand the lifetime implications of applying this attribute and how it may impact their users. Represent a type can be used to index a collection either from the start or the end. Index is used by the C# compiler to support the new index syntax int[] someArray = new int[5] { 1, 2, 3, 4, 5 } ; int lastElement = someArray[^1]; // lastElement = 5 Construct an Index using a value and indicating if the index is from the start or from the end. The index value. it has to be zero or positive number. Indicating if the index is from the start or from the end. If the Index constructed from the end, index value 1 means pointing at the last element and index value 0 means pointing at beyond last element. Create an Index pointing at first element. Create an Index pointing at beyond last element. Create an Index from the start at the position indicated by the value. The index value from the start. Create an Index from the end at the position indicated by the value. The index value from the end. Returns the index value. Indicates whether the index is from the start or the end. Calculate the offset from the start using the giving collection length. The length of the collection that the Index will be used with. length has to be a positive value For performance reason, we don't validate the input length parameter and the returned offset value against negative values. we don't validate either the returned offset is greater than the input length. It is expected Index will be used with collections which always have non negative length/count. If the returned offset is negative and then used to index a collection will get out of range exception which will be same affect as the validation. Indicates whether the current Index object is equal to another object of the same type. An object to compare with this object Indicates whether the current Index object is equal to another Index object. An object to compare with this object Returns the hash code for this instance. Converts integer number to an Index. Converts the value of the current Index object to its equivalent string representation. Represent a range has start and end indexes. Range is used by the C# compiler to support the range syntax. int[] someArray = new int[5] { 1, 2, 3, 4, 5 }; int[] subArray1 = someArray[0..2]; // { 1, 2 } int[] subArray2 = someArray[1..^0]; // { 2, 3, 4, 5 } Represent the inclusive start index of the Range. Represent the exclusive end index of the Range. Construct a Range object using the start and end indexes. Represent the inclusive start index of the range. Represent the exclusive end index of the range. Indicates whether the current Range object is equal to another object of the same type. An object to compare with this object Indicates whether the current Range object is equal to another Range object. An object to compare with this object Returns the hash code for this instance. Converts the value of the current Range object to its equivalent string representation. Create a Range object starting from start index to the end of the collection. Create a Range object starting from first element in the collection to the end Index. Create a Range object starting from first element to the end. Calculate the start offset and length of range object using a collection length. The length of the collection that the range will be used with. length has to be a positive value. For performance reason, we don't validate the input length parameter against negative values. It is expected Range will be used with collections which always have non negative length/count. We validate the range is inside the length scope though. Indicates the type of the async method builder that should be used by a language compiler to build the attributed async method or to build the attributed type when used as the return type of an async method. Initializes the . The of the associated builder. Gets the of the associated builder. An attribute that allows parameters to receive the expression of other parameters. Initializes a new instance of the class. The condition parameter value. Gets the parameter name the expression is retrieved from. Initialize the attribute to refer to the method on the type. The type of the builder to use to construct the collection. The name of the method on the builder to use to construct the collection. must refer to a static method that accepts a single parameter of type and returns an instance of the collection being built containing a copy of the data from that span. In future releases of .NET, additional patterns may be supported. Gets the type of the builder to use to construct the collection. Gets the name of the method on the builder to use to construct the collection. This should match the metadata name of the target method. For example, this might be ".ctor" if targeting the type's constructor. Indicates that compiler support for a particular feature is required for the location where this attribute is applied. Creates a new instance of the type. The name of the feature to indicate. The name of the compiler feature. If true, the compiler can choose to allow access to the location where this attribute is applied if it does not understand . The used for the ref structs C# feature. The used for the required members C# feature. Indicates which arguments to a method involving an interpolated string handler should be passed to that handler. Initializes a new instance of the class. The name of the argument that should be passed to the handler. may be used as the name of the receiver in an instance method. Initializes a new instance of the class. The names of the arguments that should be passed to the handler. may be used as the name of the receiver in an instance method. Gets the names of the arguments that should be passed to the handler. may be used as the name of the receiver in an instance method. Indicates the attributed type is to be used as an interpolated string handler. Reserved to be used by the compiler for tracking metadata. This class should not be used by developers in source code. Used to indicate to the compiler that a method should be called in its containing module's initializer. When one or more valid methods with this attribute are found in a compilation, the compiler will emit a module initializer which calls each of the attributed methods. Certain requirements are imposed on any method targeted with this attribute: - The method must be `static`. - The method must be an ordinary member method, as opposed to a property accessor, constructor, local function, etc. - The method must be parameterless. - The method must return `void`. - The method must not be generic or be contained in a generic type. - The method's effective accessibility must be `internal` or `public`. The specification for module initializers in the .NET runtime can be found here: https://github.com/dotnet/runtime/blob/main/docs/design/specs/Ecma-335-Augments.md#module-initializer Specifies that a type has required members or that a member is required. Reserved for use by a compiler for tracking metadata. This attribute should not be used by developers in source code. Used to indicate to the compiler that the .locals init flag should not be set in method headers. Initializes a new instance of the class. Initializes a new instance of the class with the specified message. An optional message associated with this attribute instance. Returns the optional message associated with this attribute instance. Returns the optional URL associated with this attribute instance.