diff --git a/Hurricane/AppMainWindow/MainWindow.xaml b/Hurricane/AppMainWindow/MainWindow.xaml index f3e40bb..914d60d 100644 --- a/Hurricane/AppMainWindow/MainWindow.xaml +++ b/Hurricane/AppMainWindow/MainWindow.xaml @@ -17,6 +17,9 @@ ShowIconOnTitleBar="False" SizeToContent="Manual" Style="{DynamicResource CleanWindowStyleKey}"> + + + diff --git a/Libraries/MahApps.Metro.XML b/Libraries/MahApps.Metro.XML index 393711a..1bb7124 100644 --- a/Libraries/MahApps.Metro.XML +++ b/Libraries/MahApps.Metro.XML @@ -4,46 +4,61 @@ MahApps.Metro - + - An object that represents the foreground color for a Metro . + Helper class for a common focusing problem. + The focus itself isn't the problem. If we use the common focusing methods the control get the focus + but it doesn't get the focus visual style. + The KeyboardNavigation class handles the visual style only if the control get the focus from a keyboard + device or if the SystemParameters.KeyboardCues is true. - + - The ResourceDictionary that represents this Accent. + Gets the KeyboardNavigationEx singleton instance. - + - Initializes a new instance of the MahApps.Metro.Accent class. + Shows the focus visual of the current focused UI element. + Works only together with AlwaysShowFocusVisual property. - + - Initializes a new instance of the MahApps.Metro.Accent class. + Focuses the specified element and shows the focus visual style. - The name of the new Accent. - The URI of the accent ResourceDictionary. + The element which will be focused. - + - Gets/sets the name of the Accent. + Attached DependencyProperty for setting AlwaysShowFocusVisual for a UI element. - + - Represents the background theme of the application. + Gets a the value which indicates if the UI element always show the focus visual style. - + - The ResourceDictionary that represents this application theme. + Sets a the value which indicates if the UI element always show the focus visual style. - + - Gets the name of the application theme. + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. @@ -51,6 +66,15 @@ With this class we can make custom window styles. + + Add and remove a native WindowStyle from the HWND. + The styles to be removed. These can be bitwise combined. + The styles to be added. These can be bitwise combined. + Whether the styles of the HWND were modified as a result of this call. + + Critical : Calls critical methods + + Updates all glow windows (visible, hidden, collapsed) @@ -71,6 +95,37 @@ Shows all glow windows + + + Gets or sets the bindable Password property on the PasswordBox control. This is a dependency property. + + + + + Handles changes to the 'Password' attached property. + + + + + Handle the 'PasswordChanged'-event on the PasswordBox + + + + + Called after the behavior is attached to an AssociatedObject. + + + Override this to hook up functionality to the AssociatedObject. + + + + + Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred. + + + Override this to unhook functionality from the AssociatedObject. + + @@ -82,67 +137,175 @@ - + - Overrides the text case behavior for certain buttons. - When set to true, the text case will be preserved and won't be changed to upper or lower case. + Defines the method that determines whether the command can execute in its current state. + + true if this command can be executed; otherwise, false. + + Data used by the command. If the command does not require data to be passed, this object can be set to null. - + - A helper class that provides various attached properties for the ComboBox control. - + Defines the method to be called when the command is invoked. + Data used by the command. If the command does not require data to be passed, this object can be set to null. - + - A helper class that provides various controls. + The DependencyProperty for the CharacterCasing property. + Controls whether or not content is converted to upper or lower case + Default Value: CharacterCasing.Normal - + + + Character casing of the Content + + + + + The DependencyProperty for the RecognizesAccessKey property. + Default Value: false + + + + + Determine if the inner ContentPresenter should use AccessText in its style + + + - This property can be used to set the button width (PART_ClearText) of TextBox, PasswordBox, ComboBox - For multiline TextBox, PasswordBox is this the fallback for the clear text button! so it must set manually! - For normal TextBox, PasswordBox the width is the height. + This custom popup is used by the validation error template. + It provides some additional nice features: + - repositioning if host-window size or location changed + - repositioning if host-window gets maximized and vice versa + - it's only topmost if the host-window is activated - + - Sets the brush used to draw the focus border. + Gets/sets if the popup can be closed by left mouse button down. - + - Gets the brush used to draw the focus border. + Called when a cell has just switched to edit mode. + A reference to element returned by GenerateEditingElement. + The event args of the input event that caused the cell to go into edit mode. May be null. + The unedited value of the cell. - + - Sets the brush used to draw the mouse over brush. + Synchronizes the column property. Taken from Helper code for DataGrid. - + - Gets the brush used to draw the mouse over brush. + Taken from Helper code for DataGrid. - + - This custom popup is used by the validation error template. - It provides some additional nice features: - - repositioning if host-window size or location changed - - repositioning if host-window gets maximized and vice versa - - it's only topmost if the host-window is activated + The DependencyProperty for the FontFamily property. + Default Value: SystemFonts.MessageFontFamily + + + + + The font family of the desired font. + + + + + The DependencyProperty for the FontSize property. + Default Value: SystemFonts.MessageFontSize + + + + + The size of the desired font. + + + + + The DependencyProperty for the FontStyle property. + Default Value: SystemFonts.MessageFontStyle + + + + + The style of the desired font. + + + + + The DependencyProperty for the FontWeight property. + Default Value: SystemFonts.MessageFontWeight + + + + + The weight or thickness of the desired font. + + + + + The DependencyProperty for the Foreground property. + Default Value: SystemColors.ControlTextBrush + + + + + An brush that describes the foreground color. This overrides the cell foreground inherited color. + + + + + Method used as property changed callback for properties which need RefreshCellContent to be called The base class for dialogs. - You probably don't want to use this class, if you want to add arbitrary content to your dialog, + You probably don't want to use this class, if you want to add arbitrary content to your dialog, use the class. + + + Gets/sets the dialog's title. + + + + + Gets/sets arbitrary content on top of the dialog. + + + + + Gets/sets arbitrary content below the dialog. + + + + + Gets or sets the size of the dialog title font. + + + The size of the dialog title font. + + + + + Gets or sets the size of the dialog message font. + + + The size of the dialog message font. + + Initializes a new MahApps.Metro.Controls.BaseMetroDialog. @@ -155,6 +318,11 @@ Initializes a new MahApps.Metro.Controls.BaseMetroDialog. + + + This is called in the loaded event. + + Waits for the dialog to become ready for interaction. @@ -172,21 +340,6 @@ - - - Gets/sets the dialog's title. - - - - - Gets/sets arbitrary content on top of the dialog. - - - - - Gets/sets arbitrary content below the dialog. - - Gets the window that owns the current Dialog IF AND ONLY IF the dialog is shown externally. @@ -197,6 +350,12 @@ Gets the window that owns the current Dialog IF AND ONLY IF the dialog is shown inside of a window. + + + Waits until this dialog gets unloaded. + + + A class that represents the settings used by Metro Dialogs. @@ -241,6 +400,42 @@ Gets/sets the maximum height. (Default is unlimited height, Double.NaN) + + + Gets or sets which button should be focused by default + + + + + Gets/sets the token to cancel the dialog. + + + + + Gets/sets a custom resource dictionary which can contains custom styles, brushes or something else. + + + + + If set, stops standard resource dictionaries being applied to the dialog. + + + + + Gets or sets the size of the dialog title font. + + + The size of the dialog title font. + + + + + Gets or sets the size of the dialog message font. + + + The size of the dialog message font. + + An enum representing the different choices for a color scheme in a Metro Dialog. @@ -251,6 +446,11 @@ An implementation of BaseMetroDialog allowing arbitrary content. + + + Gets the default instance if the dialog coordinator, which can be injected into a view model. + + Creates a LoginDialog inside of the current window. @@ -295,9 +495,9 @@ - Adds a Metro Dialog instance to the specified window and makes it visible. - Note that this method returns as soon as the dialog is loaded and won't wait on a call of . - You can still close the resulting dialog with . + Adds a Metro Dialog instance to the specified window and makes it visible asynchronously. + If you want to wait until the user has closed the dialog, use + You have to close the resulting dialog yourself with . The owning window of the dialog. The dialog instance itself. @@ -320,81 +520,240 @@ - Gets the current shown dialog. + Gets the current shown dialog in async way. The dialog owner. - + - InputDialog + Creates a LoginDialog outside of the current window. + The window that is the parent of the dialog. + The title of the LoginDialog. + The message contained within the LoginDialog. + Optional settings that override the global metro dialog settings. + The text that was entered or null (Nothing in Visual Basic) if the user cancelled the operation. - + - InitializeComponent + Creates a InputDialog outside of the current window. + The MetroWindow + The title of the MessageDialog. + The message contained within the MessageDialog. + Optional settings that override the global metro dialog settings. + The text that was entered or null (Nothing in Visual Basic) if the user cancelled the operation. - + - LoginDialog + Creates a MessageDialog ouside of the current window. + The MetroWindow + The title of the MessageDialog. + The message contained within the MessageDialog. + The type of buttons to use. + Optional settings that override the global metro dialog settings. + A task promising the result of which button was pressed. - + - InitializeComponent + Use the dialog coordinator to help you interfact with dialogs from a view model. - - - An internal control that represents a message dialog. Please use MetroWindow.ShowMessage instead! - + - MessageDialog + Shows the input dialog. + Typically this should be the view model, which you register in XAML using . + The title of the MessageDialog. + The message contained within the MessageDialog. + Optional settings that override the global metro dialog settings. + The text that was entered or null (Nothing in Visual Basic) if the user cancelled the operation. - + - InitializeComponent + Shows the input dialog. + Typically this should be the view model, which you register in XAML using . + The title of the MessageDialog. + The message contained within the MessageDialog. + Optional settings that override the global metro dialog settings. + The text that was entered or null (Nothing in Visual Basic) if the user cancelled the operation. - + - An enum representing the result of a Message Dialog. + Creates a LoginDialog inside of the current window. + Typically this should be the view model, which you register in XAML using . + The title of the LoginDialog. + The message contained within the LoginDialog. + Optional settings that override the global metro dialog settings. + The text that was entered or null (Nothing in Visual Basic) if the user cancelled the operation. - + - An enum representing the different button states for a Message Dialog. + Creates a LoginDialog outside of the current window. + Typically this should be the view model, which you register in XAML using . + The title of the LoginDialog. + The message contained within the LoginDialog. + Optional settings that override the global metro dialog settings. + The text that was entered or null (Nothing in Visual Basic) if the user cancelled the operation. - + - Just "OK" + Creates a MessageDialog inside of the current window. + Typically this should be the view model, which you register in XAML using . + The title of the MessageDialog. + The message contained within the MessageDialog. + The type of buttons to use. + Optional settings that override the global metro dialog settings. + A task promising the result of which button was pressed. - + - "OK" and "Cancel" + Creates a MessageDialog outside of the current window. + Typically this should be the view model, which you register in XAML using . + The title of the MessageDialog. + The message contained within the MessageDialog. + The type of buttons to use. + Optional settings that override the global metro dialog settings. + A task promising the result of which button was pressed. - - - An internal control that represents a message dialog. Please use MetroWindow.ShowMessage instead! - + - ProgressDialog + Creates a ProgressDialog inside of the current window. + Typically this should be the view model, which you register in XAML using . + The title of the ProgressDialog. + The message within the ProgressDialog. + Determines if the cancel button is visible. + Optional Settings that override the global metro dialog settings. + A task promising the instance of ProgressDialogController for this operation. - + - InitializeComponent + Adds a Metro Dialog instance to the specified window and makes it visible asynchronously. + You have to close the resulting dialog yourself with . + Typically this should be the view model, which you register in XAML using . + The dialog instance itself. + An optional pre-defined settings instance. + A task representing the operation. + The is already visible in the window. - + - A class for manipulating an open ProgressDialog. + Hides a visible Metro Dialog instance. + + Typically this should be the view model, which you register in XAML using . + The dialog instance to hide. + An optional pre-defined settings instance. + A task representing the operation. + + The is not visible in the window. + This happens if hasn't been called before. + + + + + Gets the current shown dialog. + + Typically this should be the view model, which you register in XAML using . + + + + InputDialog + + + + + InitializeComponent + + + + + LoginDialog + + + + + InitializeComponent + + + + + An internal control that represents a message dialog. Please use MetroWindow.ShowMessage instead! + + + MessageDialog + + + + + InitializeComponent + + + + + An enum representing the result of a Message Dialog. + + + + + An enum representing the different button states for a Message Dialog. + + + + + Just "OK" + + + + + "OK" and "Cancel" + + + An internal control that represents a message dialog. Please use MetroWindow.ShowMessage instead! + + + ProgressDialog + + + + + InitializeComponent + + + + + A class for manipulating an open ProgressDialog. + + + + + This event is raised when the associated was closed programmatically. + + + + + This event is raised when the associated was cancelled by the user. + + + + + Gets if the Cancel button has been pressed. + + + + + Gets if the wrapped ProgressDialog is open. + + Sets the ProgressBar's IsIndeterminate to true. To set it to false, call SetProgress. @@ -412,6 +771,16 @@ The percentage to set as the value. + + + Gets/Sets the minimum restriction of the progress Value property + + + + + Gets/Sets the maximum restriction of the progress Value property + + Sets the dialog's message content. @@ -430,15 +799,128 @@ A task representing the operation. - + - Gets if the wrapped ProgressDialog is open. + The DependencyProperty for the ContentTemplate property. - + - Gets if the Cancel button has been pressed. + The DependencyProperty for the ContentTemplateSelector property. + + + + + The DependencyProperty for the ContentStringFormat property. + + + + + Gets or sets the Content of this control.. + + + + + ContentTemplate is the template used to display the content of the control. + + + + + ContentTemplateSelector allows to provide custom logic for choosing the template used to display the content of the control. + + + This property is ignored if is set. + + + + + ContentStringFormat is the format used to display the content of the control as a string + + + This property is ignored if is set. + + + + + Reflects the parameter to pass to the CommandProperty upon execution. + + + + + Gets or sets the target element on which to fire the command. + + + + + Get or sets the Command property. + + + + + Indicates whether the Menu is visible. + + + + + Gets or sets an extra tag. + + + + + Gets or sets the dimension of children stacking. + + + + + Gets or sets the Content used to generate the icon part. + + + + + Gets or sets the ContentTemplate used to display the content of the icon part. + + + + + Gets/sets the button style. + + + + + Gets/sets the menu style. + + + + + Gets/sets the brush of the button arrow icon. + + + + + Gets/sets the brush of the button arrow icon if the mouse is over the drop down button. + + + + + Gets/sets the brush of the button arrow icon if the arrow button is pressed. + + + + + Gets/sets the visibility of the button arrow icon. + + + + Invoked when the property changes. + Information about the change. + + + + Executes the specified action asynchronously with the DispatcherPriority.Background on the thread that the Dispatcher was created on. + The dispatcher object where the action runs. + An action that takes no parameters. + The dispatcher priority. @@ -470,6 +952,21 @@ Removes the control buttons (next/previous) from view. + + + Gets or sets a value indicating whether the border for mouse over state is enabled or not. + + + + + Gets or sets the mouse hover border brush. + + + + + Gets or sets the mouse hover border thickness. + + Gets/sets the text that is displayed in the FlipView's banner. @@ -480,6 +977,16 @@ Gets/sets whether the FlipView's banner is visible. + + + Gets or sets a value indicating whether the navigation is circular, so you get the first after last and the last before first. + + + + + Gets/sets whether the FlipView's NavigationButton is visible. + + A sliding panel control that is hosted in a MetroWindow via a FlyoutsControl. @@ -507,12 +1014,27 @@ Gets/sets if the close button is visible in this flyout. + + + Gets/sets if the close button is a cancel button in this flyout. + + - An ICommand that executes when the flyout's close button is clicked. + Gets/sets a command which will be executed if the close button was clicked. Note that this won't execute when is set to false. + + + Gets/sets the command parameter which will be passed by the CloseCommand. + + + + + Gets/sets a command which will be executed if the close button was clicked. + + A DataTemplate for the flyout's header. @@ -568,6 +1090,16 @@ Gets or sets the focused element. + + + Gets or sets a value indicating whether the flyout should auto close after AutoCloseInterval has passed. + + + + + Gets or sets the time in milliseconds when the flyout should auto close. + + Gets or sets a value indicating whether the flyout should try focus an element. @@ -621,624 +1153,557 @@ InitializeComponent - + - Save the DataGrid. + The HamburgerMenu is based on a SplitView control. By default it contains a HamburgerButton and a ListView to display menu items. - - - Get the DataGrid. + The HamburgerMenu is based on a SplitView control. By default it contains a HamburgerButton and a ListView to display menu items. - - - A MetroTabControl (Pivot) that wraps TabItem/MetroTabItem headers on a single row. + The HamburgerMenu is based on a SplitView control. By default it contains a HamburgerButton and a ListView to display menu items. - - - A base class for every MetroTabControl (Pivot). + The HamburgerMenu is based on a SplitView control. By default it contains a HamburgerButton and a ListView to display menu items. - - - Get/sets the command that executes when a MetroTabItem's close button is clicked. + The HamburgerMenu is based on a SplitView control. By default it contains a HamburgerButton and a ListView to display menu items. - + - An event that is raised when a TabItem is closed. + Initializes a new instance of the class. - + - Event args that is created when a TabItem is closed. + Override default OnApplyTemplate to capture children controls - + - Gets the MetroTabItem that will be closed. + Event raised when an item is clicked - + - Initializes a new instance of the MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl class. + Event raised when an options' item is clicked - + - A MetroTabControl (Pivot) that uses a TransitioningContentControl to animate the contents of a TabItem/MetroTabItem. + Identifies the dependency property. - + - Initializes a new instance of the MahApps.Metro.Controls.MetroAnimatedTabControl class. + Identifies the dependency property. - + - A reimplementation of NavigationWindow based on MetroWindow. + Identifies the dependency property. - + + - MetroNavigationWindow + Identifies the dependency property. - + - An extended, metrofied Window class. + Gets or sets the hamburger icon. - + - Gets the window placement settings (can be overwritten). + Gets or sets main button's width - + - Begins to show the MetroWindow's overlay effect. + Gets or sets main button's height - A task representing the process. - + - Begins to hide the MetroWindow's overlay effect. + Gets or sets main button's margin - A task representing the process. - + - Initializes a new instance of the MahApps.Metro.Controls.MetroWindow class. + Identifies the dependency property. - + - CleanWindow sets this so it has the correct default window commands brush + Identifies the dependency property. - + - Gets/sets the style for the MIN button style. + Identifies the dependency property. - + - Gets/sets the style for the MAX button style. + Gets or sets an object source used to generate the content of the options. - + - Gets/sets the style for the CLOSE button style. + Gets or sets the DataTemplate used to display each item in the options. - + - Gets/sets whether the window's entrance transition animation is enabled. + Gets the collection used to generate the content of the option list. + + Exception thrown if OptionsListView is not yet defined. + - + - Gets/sets the FlyoutsControl that hosts the window's flyouts. + Gets or sets options' visibility. - + - Gets/sets the icon content template to show a custom icon. + Gets or sets the selected options menu item. - + - Gets/sets the title content template to show a custom title. + Gets or sets the selected options menu index. - + - Gets/sets the left window commands that hosts the user commands. + Identifies the dependency property. - + - Gets/sets the right window commands that hosts the user commands. + Identifies the dependency property. - + - Gets/sets whether the window will ignore (and overlap) the taskbar when maximized. + Identifies the dependency property. - + - Gets/sets the brush used for the titlebar's foreground. + Identifies the dependency property. - + - Gets/sets whether the window will save it's position between loads. + Identifies the dependency property. - + - Get/sets whether the titlebar icon is visible or not. + Identifies the dependency property. - + - Gets/sets edge mode of the titlebar icon. + Identifies the dependency property. - + - Gets/sets bitmap scaling mode of the titlebar icon. + Identifies the dependency property. - + - Gets/sets whether the TitleBar is visible or not. + Gets or sets the width of the pane when it's fully expanded. - + - Gets/sets whether the WindowStyle is None or not. + Gets or sets a value that specifies whether the pane is shown on the right or left side of the control. - + - Gets/sets if the minimize button is visible. + Gets or sets gets of sets a value that specifies how the pane and content areas are shown. - + - Gets/sets if the Maximize/Restore button is visible. + Gets or sets the width of the pane in its compact display mode. - + - Gets/sets if the close button is visible. + Gets or sets the Brush to apply to the background of the Pane area of the control. - + - Gets/sets if the min button is enabled. + Gets or sets a value indicating whether gets or sets a value that specifies whether the pane is expanded to its full width. - + - Gets/sets if the max/restore button is enabled. + Gets or sets an object source used to generate the content of the menu. - + - Gets/sets if the close button is enabled. + Gets or sets the DataTemplate used to display each item. - + - Gets/sets if the the system menu should popup on right click. + Gets the collection used to generate the content of the items list. + + Exception thrown if ButtonsListView is not yet defined. + - + - Gets/sets the TitleBar's height. + Gets or sets the selected menu item. - + - Gets/sets if the TitleBar's text is automatically capitalized. + Gets or sets the selected menu index. - + - Gets/sets the brush used for the Window's title bar. + The HamburgerMenuItem provides a glyph based implementation for HamburgerMenu entries. - + - Gets/sets the brush used for the Window's glow. + Identifies the dependency property. - + - Gets/sets the brush used for the Window's non-active glow. + Gets or sets gets of sets a value that specifies the glyph to use from Segoe MDL2 Assets font. - + - Gets/sets the brush used for the Window's non-active border. + The HamburgerMenuItem provides an image based implementation for HamburgerMenu entries. - + - Gets/sets the brush used for the Window's non-active title bar. + Identifies the dependency property. - + - Gets/sets the TitleBar/Window's Text. + Gets or sets gets of sets a value that specifies the glyph to use from Segoe MDL2 Assets font. - + - Adds an entry to back navigation history that contains a CustomContentState object. + The HamburgerMenuItem provides an abstract implementation for HamburgerMenu entries. - A CustomContentState object that represents application-defined state that is associated with a specific piece of content. - - + - Removes the most recent journal entry from back history. + Identifies the dependency property. - The most recent JournalEntry in back navigation history, if there is one. - - + - Navigates to the most recent item in back navigation history. + Identifies the dependency property. - - + - Navigates to the most recent item in forward navigation history. + Identifies the dependency property. - - + - Navigates asynchronously to content that is contained by an object. + Gets or sets gets of sets a value that specifies label to display. - An Object that contains the content to navigate to. - true if a navigation is not canceled; otherwise, false. - - + - Navigates asynchronously to content that is specified by a uniform resource identifier (URI). + Gets or sets gets of sets a value that specifies the page to navigate to (if you use the HamburgerMenu with a Frame content) - A Uri object initialized with the URI for the desired content. - true if a navigation is not canceled; otherwise, false. - - + - Navigates asynchronously to content that is contained by an object, and passes an object that contains data to be used for processing during navigation. + Gets or sets gets of sets a value that specifies an user specific value. - An Object that contains the content to navigate to. - A Object that contains data to be used for processing during navigation. - true if a navigation is not canceled; otherwise, false. - - + - Navigates asynchronously to source content located at a uniform resource identifier (URI), and pass an object that contains data to be used for processing during navigation. + The HamburgerMenuItemCollection provides typed collection of HamburgerMenuItem. - A Uri object initialized with the URI for the desired content. - A Object that contains data to be used for processing during navigation. - true if a navigation is not canceled; otherwise, false. - - + + + Represents an hour comparison operation that ensures that 12 is smaller than 1. + This ensures that in the control the first hour that is selectable is 12 (AM/PM). + + + This ensures that the first hour that is selectable is 12 (AM/PM).

+ This comparer is used only if in the corresponding the value for is false. +
+
+ - Stops further downloading of content for the current navigation request. + Overrides the text case behavior for certain buttons. + When set to true, the text case will be preserved and won't be changed to upper or lower case. - - + - InitializeComponent + DependencyProperty for property. - - - Gets an IEnumerable that you use to enumerate the entries in back navigation history for a NavigationWindow. + + + The CornerRadius property allows users to control the roundness of the button 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. (Can be used e.g. at MetroButton style) + Description taken from original Microsoft description :-D - - + - Gets an IEnumerable that you use to enumerate the entries in back navigation history for a NavigationWindow. + A helper class that provides various attached properties for the ComboBox control. + - - + - Gets the NavigationService that is used by this MetroNavigationWindow to provide navigation services to its content. + Gets the Maximum number of characters the TextBox can accept. - - + - Gets a value that indicates whether there is at least one entry in back navigation history. + Sets the Maximum number of characters the TextBox can accept. - - + - Gets a value that indicates whether there is at least one entry in forward navigation history. + Gets the Character casing of the TextBox. - - + - Gets or sets the base uniform resource identifier (URI) of the current context. + Sets the Character casing of the TextBox. - - + - Gets or sets the uniform resource identifier (URI) of the current content, or the URI of new content that is currently being navigated to. + A helper class that provides various controls. - - + - Occurs when navigation to a content fragment begins, which occurs immediately, if the desired fragment is in the current content, or after the source XAML content has been loaded, if the desired fragment is in different content. + Gets the value to handle the visibility of the DisabledVisualElement in the template. - - + - Occurs when a new navigation is requested. + Sets the value to handle the visibility of the DisabledVisualElement in the template. - - + - Occurs when an error is raised while navigating to the requested content. + The DependencyProperty for the CharacterCasing property. + Controls whether or not content is converted to upper or lower case - - + - Occurs periodically during a download to provide navigation progress information. + Gets the character casing of the control - - + - Occurs when the StopLoading method is called, or when a new navigation is requested while a current navigation is in progre + Sets the character casing of the control - - + - Occurs when the content that is being navigated to has been found, and is available from the PageContent property, although it may not have completed loading + This property can be used to set the button width (PART_ClearText) of TextBox, PasswordBox, ComboBox, NumericUpDown - - + - Occurs when content that was navigated to has been loaded, parsed, and has begun rendering. + Sets the brush used to draw the focus border. - - + - A metrofied ProgressBar. - + Gets the brush used to draw the focus border. - + - Gets/sets the diameter of the ellipses used in the indeterminate animation. + Sets the brush used to draw the mouse over brush. - + - Gets/sets the offset of the ellipses used in the indeterminate animation. + Gets the brush used to draw the mouse over brush. - + - A standard MetroTabControl (Pivot). + DependencyProperty for property. - - - Initializes a new instance of the MahApps.Metro.Controls.MetroTabControl class. + + + The CornerRadius property allows users to control the roundness of the button 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. (Can be used e.g. at MetroButton style) + Description taken from original Microsoft description :-D - + - An extended TabItem with a metro style. + Save the DataGrid. - + - Gets/sets whether the Close Button is visible. + Get the DataGrid. - + - Gets/sets the command that is executed when the Close Button is clicked. + Gets the value to define the DataGridCell selection behavior. - + - This class eats little children. + Sets the value to define the DataGridCell selection behavior. - + - Sets the IsHitTestVisibleInChromeProperty to a MetroWindow template child + Gets the value to define the DataGridCell selection behavior. - The MetroWindow - The name of the template child - + - Adapts the WindowCommands to the theme of the first opened, topmost && (top || right || left) flyout + Sets the value to define the DataGridCell selection behavior. - The MetroWindow - All the flyouts! Or flyouts that fall into the category described in the summary. - An optional brush to reset the window commands brush to. - + - Represents a Windows spin box (also known as an up-down control) that displays numeric values. + Gets the value to define the DataGridRow selection behavior. - + - When overridden in a derived class, is invoked whenever application code or internal processes call - . + Sets the value to define the DataGridRow selection behavior. - + - Raises the routed event. + A helper class that provides various attached properties for the Expander control. + - - Old value of the property - - - New value of the property - - + - Event fired from this NumericUpDown when its value has reached the maximum value + Gets the toggle button style used for the ExpandDirection Up. - + - Event fired from this NumericUpDown when its value has reached the minimum value + Sets the toggle button style used for the ExpandDirection Up. - + - Gets or sets the amount of time, in milliseconds, the NumericUpDown waits while the up/down button is pressed - before it starts increasing/decreasing the - for the specified . The value must be - non-negative. + Gets the toggle button style used for the ExpandDirection Down. - + - Gets or sets a value indicating whether the user can use the arrow keys and to change values. + Sets the toggle button style used for the ExpandDirection Down. - + - Gets or sets a value indicating whether the user can use the mouse wheel to change values. + Gets the toggle button style used for the ExpandDirection Left. - + - Gets or sets a value indicating whether the control must have the focus in order to change values using the mouse wheel. - - If the value is true then the value changes when the mouse wheel is over the control. If the value is false then the value changes only if the control has the focus. If is set to "false" then this property has no effect. - + Sets the toggle button style used for the ExpandDirection Left. - + - Gets or sets a value indicating whether the user can enter text in the control. + Gets the toggle button style used for the ExpandDirection Right. - + - Gets or sets a value indicating whether the +/- button of the control is visible. + Sets the toggle button style used for the ExpandDirection Right. - - If the value is false then the of the control can be changed only if one of the following cases is satisfied: - - - is true. - - - is true. - - - is true. - - - - + - Gets or sets a value indicating whether the text can be changed by the use of the up or down buttons only. + Change the value of the slider if the user rotates the mouse wheel by the value defined for - + - Gets or sets a value indicating whether the value to be added to or subtracted from remains - always - or if it will increase faster after pressing the up/down button/arrow some time. + Change the value of the slider if the user rotates the mouse wheel by the value defined for - + - Gets or sets the formatting for the displaying + Do not change the value of the slider if the user rotates the mouse wheel. - - - - + - Gets or sets the horizontal alignment of the contents of the text box. + Change the value of the slider only if the control is focused. - + - An Enum representing different positions, such as Left or Right. + Changes the value of the slider if the mouse pointer is over this element. - + - AddValueChanged of dependency property descriptor results in memory leak as you already know. - So, as described here, you can create custom class PropertyChangeNotifier to listen - to any dependency property changes. - - This class takes advantage of the fact that bindings use weak references to manage associations - so the class will not root the object who property changes it is watching. It also uses a WeakReference - to maintain a reference to the object whose property it is watching without rooting that object. - In this way, you can maintain a collection of these objects so that you can unhook the property - change later without worrying about that collection rooting the object whose values you are watching. - - Complete implementation can be found here: http://agsmith.wordpress.com/2008/04/07/propertydescriptor-addvaluechanged-alternative/ + This property can be used to set vertical scrollbar left side from the tabpanel (look at MetroAnimatedSingleRowTabControl) - + - Identifies the dependency property + Gets/Sets the type how the value will be changed if the user rotates the mouse wheel. - + - Returns/sets the value of the property + Gets/Sets the type how the value will be changed if the user rotates the mouse wheel. - - + - This property can be used to set vertical scrollbar left side from the tabpanel (look at MetroAnimatedSingleRowTabControl) + Gets/Sets the value when the slider will be changed. Possible values are if the slider is focused or if the mouse is over the slider. - + - <MyNamespace:CustomControl1/> + Gets/Sets the value when the slider will be changed. Possible values are if the slider is focused or if the mouse is over the slider. @@ -1251,2170 +1716,2021 @@ This property can be used to set the Transition for animated TabControls - + - This property can be used to handle the style for CheckBox and RadioButton - LeftToRight means content left and button right and RightToLeft vise versa + A helper class that provides various attached properties for the TextBox control. + + Password watermarking code from: http://prabu-guru.blogspot.com/2010/06/how-to-add-watermark-text-to-textbox.html + - + - This property can be used to handle the style for CheckBox and RadioButton - LeftToRight means content left and button right and RightToLeft vise versa + The clear text button behavior property. It sets a click event to the button if the value is true. - + - Doesn't overlay flyouts nor a hidden TitleBar. + This property can be used to set the button width (PART_ClearText) of TextBox, PasswordBox, ComboBox, NumericUpDown - + - Overlays opened controls. + Indicates if a TextBox or RichTextBox should use SpellCheck context menu - + - Overlays a hidden TitleBar. + Gets if the attached TextBox has text. - + - Determining Ideal Text Color Based on Specified Background Color - http://www.codeproject.com/KB/GDI-plus/IdealTextColor.aspx + Gets the clear text button visibility / feature. Can be used to enable text deletion. - The bg. - - + - Converts the value from true to false and false to true. + Sets the clear text button visibility / feature. Can be used to enable text deletion. - + - Based on Greg Schechter's Planerator - http://blogs.msdn.com/b/greg_schechter/archive/2007/10/26/enter-the-planerator-dead-simple-3d-in-wpf-with-a-stupid-name.aspx + Gets the text button visibility. - + - Event arguments created for the RangeSlider's SelectionChanged event. - + Sets the text button visibility. - + - The value of the new range's beginning. + Gets the buttons placement variant. - + - The value of the new range's ending. + Sets the buttons placement variant. - + - A slider control with the ability to select a range between two values. + Gets the clear text button behavior. - + - Responds to a change in the value of the property. + Sets the clear text button behavior. - The old value of the property.The new value of the property. - - - Responds to a change in the value of the property. + + + ButtonContentTemplate is the template used to display the content of the ClearText button. - The old value of the property.The new value of the property. - + - Get/sets value how fast thumbs will move when user press on left/right/central with left mouse button (IsMoveToPoint must be set to FALSE) + This property can be used to handle the style for CheckBox and RadioButton + LeftToRight means content left and button right and RightToLeft vise versa - + - Get/sets precision of the value, which displaying inside AutotToolTip + This property can be used to handle the style for CheckBox and RadioButton + LeftToRight means content left and button right and RightToLeft vise versa - + - Get/sets tooltip, which will show while dragging thumbs and display currect value + A MetroTabControl (Pivot) that wraps TabItem/MetroTabItem headers on a single row. - + - Get/sets tick placement position + Initializes a new instance of the MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl class. - + - Get/sets IsMoveToPoint feature which will enable/disable moving to exact point inside control when user clicked on it + A MetroTabControl (Pivot) that uses a TransitioningContentControl to animate the contents of a TabItem/MetroTabItem. - + - Get/sets tickFrequency + Initializes a new instance of the MahApps.Metro.Controls.MetroAnimatedTabControl class. - + - Get/sets orientation of range slider + Originally from http://xamlcoder.com/blog/2010/11/04/creating-a-metro-ui-style-control/ - + - Get/sets whether possibility to make manipulations inside range with left/right mouse buttons + cotrol button + A reimplementation of NavigationWindow based on MetroWindow. - - + - Get/sets whether possibility to make manipulations inside range with left/right mouse buttons + cotrol button + MetroNavigationWindow - + - Get/sets whether whole range will be moved when press on right/left/central part of control + Gets an IEnumerable that you use to enumerate the entries in back navigation history for a NavigationWindow. + - + - Get/sets the minimal distance between two thumbs. + Gets an IEnumerable that you use to enumerate the entries in back navigation history for a NavigationWindow. + - + - Get/sets the beginning of the range selection. + Gets the NavigationService that is used by this MetroNavigationWindow to provide navigation services to its content. + - + - Get/sets the end of the range selection. + Gets a value that indicates whether there is at least one entry in back navigation history. + - + - Get/sets the minimum range that can be selected. + Gets a value that indicates whether there is at least one entry in forward navigation history. + - + - A helper class that provides various attached properties for the TextBox control. + Gets or sets the base uniform resource identifier (URI) of the current context. - - Password watermarking code from: http://prabu-guru.blogspot.com/2010/06/how-to-add-watermark-text-to-textbox.html - + - + - The clear text button behavior property. It sets a click event to the button if the value is true. + Gets or sets the uniform resource identifier (URI) of the current content, or the URI of new content that is currently being navigated to. + - + - Indicates if a TextBox or RichTextBox should use SpellCheck context menu + Adds an entry to back navigation history that contains a CustomContentState object. + A CustomContentState object that represents application-defined state that is associated with a specific piece of content. + - + - Gets if the attached TextBox has text. + Removes the most recent journal entry from back history. + The most recent JournalEntry in back navigation history, if there is one. + - + - Gets the clear text button behavior. + Navigates to the most recent item in back navigation history. + - + - Sets the clear text button behavior. + Navigates to the most recent item in forward navigation history. + - + - A Button that allows the user to toggle between two states. + Navigates asynchronously to content that is contained by an object. + An Object that contains the content to navigate to. + true if a navigation is not canceled; otherwise, false. + - + - Gets/sets the brush used for the control's foreground. + Navigates asynchronously to content that is specified by a uniform resource identifier (URI). + A Uri object initialized with the URI for the desired content. + true if a navigation is not canceled; otherwise, false. + - + - enumeration for the different transition types + Navigates asynchronously to content that is contained by an object, and passes an object that contains data to be used for processing during navigation. + An Object that contains the content to navigate to. + A Object that contains data to be used for processing during navigation. + true if a navigation is not canceled; otherwise, false. + - + - Use the VisualState DefaultTransition + Navigates asynchronously to source content located at a uniform resource identifier (URI), and pass an object that contains data to be used for processing during navigation. + A Uri object initialized with the URI for the desired content. + A Object that contains data to be used for processing during navigation. + true if a navigation is not canceled; otherwise, false. + - + - Use the VisualState Normal + Stops further downloading of content for the current navigation request. + - + - Use the VisualState UpTransition + Occurs when navigation to a content fragment begins, which occurs immediately, if the desired fragment is in the current content, or after the source XAML content has been loaded, if the desired fragment is in different content. + - + - Use the VisualState DownTransition + Occurs when a new navigation is requested. + - + - Use the VisualState RightTransition + Occurs when an error is raised while navigating to the requested content. + - + - Use the VisualState RightReplaceTransition + Occurs periodically during a download to provide navigation progress information. + - + - Use the VisualState LeftTransition + Occurs when the StopLoading method is called, or when a new navigation is requested while a current navigation is in progre + - + - Use the VisualState LeftReplaceTransition + Occurs when the content that is being navigated to has been found, and is available from the PageContent property, although it may not have completed loading + - + - Use a custom VisualState, the name must be set using CustomVisualStatesName property + Occurs when content that was navigated to has been loaded, parsed, and has begun rendering. + - + - A ContentControl that animates content as it loads and unloads. + InitializeComponent - + - Reload the current transition if the content is the same. + A metrofied ProgressBar. + - + - Gets or sets the name of the custom transition visual state. + Gets/sets the diameter of the ellipses used in the indeterminate animation. - + - Gets/sets if the content is transitioning. + Gets/sets the offset of the ellipses used in the indeterminate animation. - + - Helper methods for UI-related tasks. - This class was obtained from Philip Sumi (a fellow WPF Disciples blog) - http://www.hardcodet.net/uploads/2009/06/UIHelper.cs + A standard MetroTabControl (Pivot). - + - Finds a parent of a given item on the visual tree. + Initializes a new instance of the MahApps.Metro.Controls.MetroTabControl class. - The type of the queried item. - A direct or indirect child of the - queried item. - The first parent item that matches the submitted - type parameter. If not matching item can be found, a null - reference is being returned. - + - Finds a Child of a given item in the visual tree. + A base class for every MetroTabControl (Pivot). - A direct parent of the queried item. - The type of the queried item. - x:Name or Name of child. - The first parent item that matches the submitted type parameter. - If not matching item can be found, - a null parent is being returned. - + - This method is an alternative to WPF's - method, which also - supports content elements. Keep in mind that for content element, - this method falls back to the logical tree of the element! + Get/sets the command that executes when a MetroTabItem's close button is clicked. - The item to be processed. - The submitted item's parent, if available. Otherwise - null. - + - Analyzes both visual and logical tree in order to find all elements of a given - type that are descendants of the item. + An event that is raised when a TabItem is closed. - The type of the queried items. - The root element that marks the source of the search. If the - source is already of the requested type, it will not be included in the result. - Sometimes it's better to search in the VisualTree (e.g. in tests) - All descendants of that match the requested type. - + - This method is an alternative to WPF's - method, which also - supports content elements. Keep in mind that for content elements, - this method falls back to the logical tree of the element. + Event args that is created when a TabItem is closed. - The item to be processed. - Sometimes it's better to search in the VisualTree (e.g. in tests) - The submitted item's child elements, if available. - + - Tries to locate a given item within the visual tree, - starting with the dependency object at a given position. + Gets the MetroTabItem that will be closed. - The type of the element to be found - on the visual tree of the element at the given location. - The main element which is used to perform - hit testing. - The position to be evaluated on the origin. - + - Gets or sets the value indicating whether to show the separators. + An extended TabItem with a metro style. - - IID_IApplicationAssociationRegistration + + + Gets/sets whether the Close Button is visible. + - - IID_IConnectionPoint + + + Gets/sets the command that is executed when the Close Button is clicked. + - - IID_IConnectionPointContainer + + + Gets/sets the command that is executed when the Close Button is clicked. + - - IID_IEnumConnectionPoints + + + Gets/sets the command parameter which is passed to the close button command. + - - IID_IEnumConnections + + + The MetroThumbContentControl control can be used for titles or something else and enables basic drag movement functionality. + - - IID_IEnumIDList + + + Adds or remove a DragStartedEvent handler + - - IID_IEnumObjects + + + Adds or remove a DragDeltaEvent handler + - - IID_IFileDialog + + + Adds or remove a DragCompletedEvent handler + - - IID_IFileDialogEvents + + + DependencyProperty for the IsDragging property. + - - IID_IFileOpenDialog + + + Indicates that the left mouse button is pressed and is over the MetroThumbContentControl. + - - IID_IFileSaveDialog + + + An extended, metrofied Window class. + - - IID_IHTMLDocument + + + Allows easy handling of window commands brush. Theme is also applied based on this brush. + - - IID_IHTMLDocument2 + + + Gets/sets whether the window's entrance transition animation is enabled. + - - IID_IModalWindow + + + Gets/sets the FlyoutsControl that hosts the window's flyouts. + - - IID_IObjectArray + + + Gets/sets the icon content template to show a custom icon. + - - IID_IObjectCollection + + + Gets/sets the title content template to show a custom title. + - - IID_IPropertyNotifySink + + + Gets/sets the left window commands that hosts the user commands. + - - IID_IPropertyStore + + + Gets/sets the right window commands that hosts the user commands. + - - IID_IServiceProvider + + + Gets/sets the window button commands that hosts the min/max/close commands. + - - IID_IShellFolder + + + Gets/sets whether the window will ignore (and overlap) the taskbar when maximized. + - - IID_IShellLink + + + Gets/sets the brush used for the titlebar's foreground. + - - IID_IShellItem + + + Gets/sets whether the window will save it's position between loads. + - - IID_IShellItem2 + + + Gets the window placement settings (can be overwritten). + - - IID_IShellItemArray + + + Get/sets whether the titlebar icon is visible or not. + - - IID_ITaskbarList + + + Get/sets whether dialogs show over the title bar. + - - IID_ITaskbarList2 + + + Gets/sets edge mode of the titlebar icon. + - - IID_IUnknown + + + Gets/sets bitmap scaling mode of the titlebar icon. + - - IID_IWebBrowser2 + + + Gets/sets icon scaling mode of the titlebar. + - - DIID_DWebBrowserEvents + + + Gets/sets whether the TitleBar is visible or not. + - - IID_DWebBrowserEvents2 + + + Gets/sets whether the WindowStyle is None or not. + - - IID_IWICBitmapDecoder + + + Gets/sets if the minimize button is visible. + - - IID_IWICBitmapFlipRotator + + + Gets/sets if the Maximize/Restore button is visible. + - - IID_IWICBitmapFrameDecode + + + Gets/sets if the close button is visible. + - - IID_IWICBitmap + + + Gets/sets if the min button is enabled. + - - IID_IWICBitmapSource + + + Gets/sets if the max/restore button is enabled. + - - IID_IWICFormatConverter + + + Gets/sets if the close button is enabled. + - - IID_IWICImagingFactory + + + Gets/sets if the the system menu should popup on right click. + - - IID_IWICStream + + + Gets/sets the TitleBar's height. + - - IID_IApplicationDestinations - - - IID_IApplicationDocumentLists - - - IID_ICustomDestinationList - - - IID_IObjectWithAppUserModelID - - - IID_IObjectWithProgID - - - IID_ITaskbarList3 - - - IID_ITaskbarList4 - - - SID_SWebBrowserApp - - - CLSID_ApplicationAssociationRegistration - IID_IApplicationAssociationRegistration - - - CLSID_DragDropHelper - - - CLSID_FileOpenDialog - IID_IFileOpenDialog - - - CLSID_FileSaveDialog - IID_IFileSaveDialog - - - CLSID_TaskbarList - IID_ITaskbarList - - - CLSID_EnumerableObjectCollection - IID_IEnumObjects. - - - CLSID_ShellLink - IID_IShellLink - - - CLSID_WICImagingFactory - - - CLSID_DestinationList - IID_ICustomDestinationList - - - CLSID_ApplicationDestinations - IID_IApplicationDestinations - - - CLSID_ApplicationDocumentLists - IID_IApplicationDocumentLists - - - A static class for verifying assumptions. + + + Gets/sets if the TitleBar's text is automatically capitalized. + - + - Executes the specified argument. + Character casing of the title - The function to execute. - - Obsolete: Use Standard.Assert.AreEqual instead of Assert.Equals - The generic type to compare for equality. - The first generic type data to compare. This is is the expected value. - The second generic type data to compare. This is the actual value. + + + Gets/sets the title horizontal alignment. + - + - Verifies that two generic type data are equal. The assertion fails if they are not. + Gets/sets the brush used for the Window's title bar. - The generic type to compare for equality. - The first generic type data to compare. This is is the expected value. - The second generic type data to compare. This is the actual value. - This breaks into the debugger in the case of a failed assertion. - + - Verifies that two generic type data are not equal. The assertion fails if they are. + Gets/sets the brush used for the Window's glow. - The generic type to compare for inequality. - The first generic type data to compare. This is is the value that's not expected. - The second generic type data to compare. This is the actual value. - This breaks into the debugger in the case of a failed assertion. - + - Verifies that if the specified condition is true, then so is the result. - The assertion fails if the condition is true but the result is false. + Gets/sets the brush used for the Window's non-active glow. - if set to true [condition]. - - A second Boolean statement. If the first was true then so must this be. - If the first statement was false then the value of this is ignored. - - This breaks into the debugger in the case of a failed assertion. - + - Lazy evaluation overload. Verifies that if a condition is true, then so is a secondary value. + Gets/sets the brush used for the Window's non-active border. - The conditional value. - A function to be evaluated for truth if the condition argument is true. - - This overload only evaluates the result if the first condition is true. - - + - Verifies that a string has content. I.e. it is not null and it is not empty. + Gets/sets the brush used for the Window's non-active title bar. - The string to verify. - + - Verifies that a string has content. I.e. it is not null and it is not purely whitespace. + Begins to show the MetroWindow's overlay effect. - The string to verify. + A task representing the process. - + - Verifies the specified value is not null. The assertion fails if it is. + Begins to hide the MetroWindow's overlay effect. - The generic reference type. - The value to check for nullness. - This breaks into the debugger in the case of a failed assertion. + A task representing the process. - + - Verifies that the specified condition is false. The assertion fails if it is true. + Stores the given element, or the last focused element via FocusManager, for restoring the focus after closing a dialog. - The expression that should be false. - This breaks into the debugger in the case of a failed assertion. + The element which will be focused again. - + - Verifies that the specified condition is false. The assertion fails if it is true. + Clears the stored element which would get the focus after closing a dialog. - The expression that should be false. - The message to display if the condition is true. - This breaks into the debugger in the case of a failed assertion. - + - Verifies that the specified condition is true. The assertion fails if it is not. + Initializes a new instance of the MahApps.Metro.Controls.MetroWindow class. - A condition that is expected to be true. - This breaks into the debugger in the case of a failed assertion. - + - Verifies that the specified condition is true. The assertion fails if it is not. + Gets the template child with the given name. - A condition that is expected to be true. - The message to write in case the condition is false. - This breaks into the debugger in the case of a failed assertion. + The interface type inheirted from DependencyObject. + The name of the template child. - + - This line should never be executed. The assertion always fails. + Gets the template child with the given name. - This breaks into the debugger in the case of a failed assertion. + The name of the template child. - + - This line should never be executed. The assertion always fails. + This class eats little children. - The message to display if this function is executed. - This breaks into the debugger in the case of a failed assertion. - + - Verifies that the specified object is null. The assertion fails if it is not. + Sets the IsHitTestVisibleInChromeProperty to a MetroWindow template child - The item to verify is null. + The MetroWindow. + The name of the template child. + - + - Verifies that the specified value is within the expected range. The assertion fails if it isn't. + Sets the WindowChrome ResizeGripDirection to a MetroWindow template child. - The lower bound inclusive value. - The value to verify. - The upper bound inclusive value. + The MetroWindow. + The name of the template child. + The direction. - + - Verifies that the specified value is within the expected range. The assertion fails if it isn't. + Adapts the WindowCommands to the theme of the first opened, topmost && (top || right || left) flyout - The lower bound inclusive value. - The value to verify. - The upper bound exclusive value. + The MetroWindow + All the flyouts! Or flyouts that fall into the category described in the summary. + An optional brush to reset the window commands brush to. - + - Verify the current thread's apartment state is what's expected. The assertion fails if it isn't + Represents a Windows spin box (also known as an up-down control) that displays numeric values. - - The expected apartment state for the current thread. - - This breaks into the debugger in the case of a failed assertion. - - A function signature for Assert.Evaluate. + + + Event fired from this NumericUpDown when its value has reached the maximum value + - - A function signature for Assert.Implies. - Returns the truth of a predicate. + + + Event fired from this NumericUpDown when its value has reached the minimum value + - + - DoubleUtil uses fixed eps to provide fuzzy comparison functionality for doubles. - Note that FP noise is a big problem and using any of these compare - methods is not a complete solution, but rather the way to reduce - the probability of repeating unnecessary work. + Gets or sets the amount of time, in milliseconds, the NumericUpDown waits while the up/down button is pressed + before it starts increasing/decreasing the + for the specified . The value must be + non-negative. - + - Epsilon - more or less random, more or less small number. + Gets or sets a value indicating whether the user can use the arrow keys and to change values. - + - AreClose returns whether or not two doubles are "close". That is, whether or - not they are within epsilon of each other. - There are plenty of ways for this to return false even for numbers which - are theoretically identical, so no code calling this should fail to work if this - returns false. + Gets or sets a value indicating whether the user can use the mouse wheel to change values. - The first double to compare. - The second double to compare. - The result of the AreClose comparision. - + - LessThan returns whether or not the first double is less than the second double. - That is, whether or not the first is strictly less than *and* not within epsilon of - the other number. - There are plenty of ways for this to return false even for numbers which - are theoretically identical, so no code calling this should fail to work if this - returns false. + Gets or sets a value indicating whether the control must have the focus in order to change values using the mouse wheel. + + If the value is true then the value changes when the mouse wheel is over the control. If the value is false then the value changes only if the control has the focus. If is set to "false" then this property has no effect. + - The first double to compare. - The second double to compare. - The result of the LessThan comparision. - + - GreaterThan returns whether or not the first double is greater than the second double. - That is, whether or not the first is strictly greater than *and* not within epsilon of - the other number. - There are plenty of ways for this to return false even for numbers which - are theoretically identical, so no code calling this should fail to work if this - returns false. + Gets or sets a value indicating whether the user can enter text in the control. - The first double to compare. - The second double to compare. - The result of the GreaterThan comparision. - + - LessThanOrClose returns whether or not the first double is less than or close to - the second double. That is, whether or not the first is strictly less than or within - epsilon of the other number. - There are plenty of ways for this to return false even for numbers which - are theoretically identical, so no code calling this should fail to work if this - returns false. + Gets or sets a value indicating the culture to be used in string formatting operations. - The first double to compare. - The second double to compare. - The result of the LessThanOrClose comparision. - + - GreaterThanOrClose returns whether or not the first double is greater than or close to - the second double. That is, whether or not the first is strictly greater than or within - epsilon of the other number. - There are plenty of ways for this to return false even for numbers which - are theoretically identical, so no code calling this should fail to work if this - returns false. + Gets or sets a value indicating whether the +/- button of the control is visible. - The first double to compare. - The second double to compare. - The result of the GreaterThanOrClose comparision. + + If the value is false then the of the control can be changed only if one of the following cases is satisfied: + + + is true. + + + is true. + + + is true. + + + - + - Test to see if a double is a finite number (is not NaN or Infinity). + Gets or sets a value indicating whether the text can be changed by the use of the up or down buttons only. - The value to test. - Whether or not the value is a finite number. - + - Test to see if a double a valid size value (is finite and > 0). + Gets or sets a value indicating whether the value to be added to or subtracted from remains + always + or if it will increase faster after pressing the up/down button/arrow some time. - The value to test. - Whether or not the value is a valid size value. - + - Convert a point in device independent pixels (1/96") to a point in the system coordinates. + Gets or sets the formatting for the displaying - A point in the logical coordinate system. - Returns the parameter converted to the system's coordinates. + + + - + - Convert a point in system coordinates to a point in device independent pixels (1/96"). + Gets or sets the horizontal alignment of the contents of the text box. - A point in the physical coordinate system. - Returns the parameter converted to the device independent coordinate system. - + - Wrapper for common Win32 status codes. + Indicates if the NumericUpDown should show the decimal separator or not. - - The operation completed successfully. - - - Incorrect function. + + + Called when this element or any below gets focus. + - - The system cannot find the file specified. + + + When overridden in a derived class, is invoked whenever application code or internal processes call + . + - - The system cannot find the path specified. + + + Raises the routed event. + + + Old value of the property + + + New value of the property + - - The system cannot open the file. + + + Based on Greg Schechter's Planerator + http://blogs.msdn.com/b/greg_schechter/archive/2007/10/26/enter-the-planerator-dead-simple-3d-in-wpf-with-a-stupid-name.aspx + - - Access is denied. + + + An Enum representing different positions, such as Left or Right. + - - The handle is invalid. + + + AddValueChanged of dependency property descriptor results in memory leak as you already know. + So, as described here, you can create custom class PropertyChangeNotifier to listen + to any dependency property changes. + + This class takes advantage of the fact that bindings use weak references to manage associations + so the class will not root the object who property changes it is watching. It also uses a WeakReference + to maintain a reference to the object whose property it is watching without rooting that object. + In this way, you can maintain a collection of these objects so that you can unhook the property + change later without worrying about that collection rooting the object whose values you are watching. + + Complete implementation can be found here: http://agsmith.wordpress.com/2008/04/07/propertydescriptor-addvaluechanged-alternative/ + - - Not enough storage is available to complete this operation. + + + Identifies the dependency property + - - There are no more files. + + + Returns/sets the value of the property + + - - The process cannot access the file because it is being used by another process. + + + Event arguments created for the RangeSlider's SelectionChanged event. + + - - The parameter is incorrect. + + + The value of the new range's beginning. + - - The data area passed to a system call is too small. + + + The value of the new range's ending. + - - Cannot nest calls to LoadModule. + + + A slider control with the ability to select a range between two values. + - - Illegal operation attempted on a registry key that has been marked for deletion. + + + Get/sets value how fast thumbs will move when user press on left/right/central with left mouse button (IsMoveToPoint must be set to FALSE) + - - Element not found. + + + Get/sets precision of the value, which displaying inside AutotToolTip + - - There was no match for the specified key in the index. + + + Get/sets the converter for the tooltip text + - - An invalid device was specified. + + + Get/sets tooltip, which will show while dragging thumbs and display currect value + - - The operation was canceled by the user. + + + Get/sets tick placement position + - - Cannot find window class. + + + Get/sets IsMoveToPoint feature which will enable/disable moving to exact point inside control when user clicked on it + - - The window class was already registered. + + + Get/sets tickFrequency + - - The specified datatype is invalid. + + + Get/sets orientation of range slider + - + - Create a new Win32 error. + Get/sets whether possibility to make manipulations inside range with left/right mouse buttons + cotrol button - The integer value of the error. - - Performs HRESULT_FROM_WIN32 conversion. - The Win32 error being converted to an HRESULT. - The equivilent HRESULT value. + + + Get/sets whether possibility to make manipulations inside range with left/right mouse buttons + cotrol button + - - Performs HRESULT_FROM_WIN32 conversion. - The equivilent HRESULT value. + + + Get/sets whether whole range will be moved when press on right/left/central part of control + - - Performs the equivalent of Win32's GetLastError() - A Win32Error instance with the result of the native GetLastError + + + Get/sets the minimal distance between two thumbs. + - + - Compare two Win32 error codes for equality. + Get/sets the beginning of the range selection. - The first error code to compare. - The second error code to compare. - Whether the two error codes are the same. - + - Compare two Win32 error codes for inequality. + Get/sets the end of the range selection. - The first error code to compare. - The second error code to compare. - Whether the two error codes are not the same. - - FACILITY_NULL + + + Get/sets the minimum range that can be selected. + - - FACILITY_RPC + + + Responds to a change in the value of the property. + + The old value of the property.The new value of the property. - - FACILITY_DISPATCH + + + Responds to a change in the value of the property. + + The old value of the property.The new value of the property. - - FACILITY_STORAGE - - - FACILITY_ITF - - - FACILITY_WIN32 - - - FACILITY_WINDOWS - - - FACILITY_CONTROL - - - MSDN doced facility code for ESE errors. - - - FACILITY_WINCODEC (WIC) - - - Wrapper for HRESULT status codes. - - - S_OK - - - S_FALSE - - - E_PENDING - - - E_NOTIMPL - - - E_NOINTERFACE - - - E_POINTER - - - E_ABORT - - - E_FAIL - - - E_UNEXPECTED - - - STG_E_INVALIDFUNCTION - - - REGDB_E_CLASSNOTREG - - - DESTS_E_NO_MATCHING_ASSOC_HANDLER. Win7 internal error code for Jump Lists. - There is no Assoc Handler for the given item registered by the specified application. + + + RevealImage + - - DESTS_E_NORECDOCS. Win7 internal error code for Jump Lists. - The given item is excluded from the recent docs folder by the NoRecDocs bit on its registration. + + + InitializeComponent + - - DESTS_E_NOTALLCLEARED. Win7 internal error code for Jump Lists. - Not all of the items were successfully cleared + + + Reflects the parameter to pass to the CommandProperty upon execution. + - - E_ACCESSDENIED - Win32Error ERROR_ACCESS_DENIED. + + + Gets or sets the target element on which to fire the command. + - - E_OUTOFMEMORY - Win32Error ERROR_OUTOFMEMORY. + + + Get or sets the Command property. + - - E_INVALIDARG - Win32Error ERROR_INVALID_PARAMETER. + + + Indicates whether the Popup is visible. + - - INTSAFE_E_ARITHMETIC_OVERFLOW + + + Gets or sets an extra tag. + - - COR_E_OBJECTDISPOSED + + + Gets or sets the dimension of children stacking. + - - WC_E_GREATERTHAN + + + Gets or sets the Content used to generate the icon part. + - - WC_E_SYNTAX + + + Gets or sets the ContentTemplate used to display the content of the icon part. + - + - Create an HRESULT from an integer value. + Gets/sets the button style. - - + - Convert an HRESULT to an int. Used for COM interface declarations out of our control. + Gets/sets the button arrow style. - + - Get a string representation of this HRESULT. + Gets/sets the popup listbox style. - - + - Convert the result of Win32 GetLastError() into a raised exception. + Gets/sets the brush of the button arrow icon. - + - retrieve HRESULT_FACILITY + Gets/sets the brush of the button arrow icon if the mouse is over the split button. - + - retrieve HRESULT_CODE + Gets/sets the brush of the button arrow icon if the arrow button is pressed. - + + Updates the current selection when an item in the has changed + The event data. + + - HIGHCONTRAST flags + A special animation used to animates the length of a . + + - + - DROPIMAGE_* + Represents a container with two views; one view for the main content and another view that is typically used for + navigation commands. - + - BITMAPINFOHEADER Compression type. BI_*. + Identifies the dependency property. + The identifier for the property. - + - CombingRgn flags. RGN_* + Gets or sets the width of the pane in its compact display mode. + + The width of the pane in it's compact display mode. The default is 48 device-independent pixel (DIP) (defined + by the SplitViewCompactPaneThemeLength resource). + - + - Creates the intersection of the two combined regions. + Identifies the dependency property. + The identifier for the dependency property. - + - Creates the union of two combined regions. + Gets or sets the contents of the main panel of a . + The contents of the main panel of a . The default is null. - + - Creates the union of two combined regions except for any overlapping areas. + Identifies the dependency property. + The identifier for the dependency property. - + - Combines the parts of hrgnSrc1 that are not part of hrgnSrc2. + Gets of sets a value that specifies how the pane and content areas of a are shown. + + A value of the enumeration that specifies how the pane and content areas of a are + shown. The default is . + - + - Creates a copy of the region identified by hrgnSrc1. + Identifies the dependency property. + The identifier for the dependency property. - + - For IWebBrowser2. OLECMDEXECOPT_* + Gets or sets a value that specifies whether the pane is expanded to its full width. + true if the pane is expanded to its full width; otherwise, false. The default is true. - + - For IWebBrowser2. OLECMDF_* + Identifies the dependency property. + The identifier for the dependency property. - + - For IWebBrowser2. OLECMDID_* + Gets or sets the width of the pane when it's fully expanded. + + The width of the pane when it's fully expanded. The default is 320 device-independent + pixel (DIP). + - + - For IWebBrowser2. READYSTATE_* + Identifies the dependency property. + The identifier for the dependency property. - + - DATAOBJ_GET_ITEM_FLAGS. DOGIF_*. + Gets or sets the contents of the pane of a . + The contents of the pane of a . The default is null. - - Use the system default, which is to display all error dialog boxes. - - + - The system does not display the critical-error-handler message box. - Instead, the system sends the error to the calling process. + Identifies the dependency property. + The identifier for the dependency property. - + - 64-bit Windows: The system automatically fixes memory alignment faults and makes them - invisible to the application. It does this for the calling process and any descendant processes. - After this value is set for a process, subsequent attempts to clear the value are ignored. + Gets or sets the Brush to apply to the background of the area of the control. + The Brush to apply to the background of the area of the control. - + - The system does not display the general-protection-fault message box. - This flag should only be set by debugging applications that handle general - protection (GP) faults themselves with an exception handler. + Identifies the PanePlacement dependency property. + The identifier for the PanePlacement dependency property. - + - The system does not display a message box when it fails to find a file. - Instead, the error is returned to the calling process. + Gets or sets a value that specifies whether the pane is shown on the right or left side of the + . + + A value of the enumeration that specifies whether the pane is shown on the right or left side of the + . The default is . + - + - Non-client hit test values, HT* + Identifies the dependency property. + The identifier for the dependency property. - + - GetClassLongPtr values, GCLP_* + Gets an object that provides calculated values that can be referenced as TemplateBinding sources when defining + templates for a control. + An object that provides calculated values for templates. - + - GetWindowLongPtr values, GWL_* + Initializes a new instance of the class. - + - SystemMetrics. SM_* + Occurs when the pane is closed. - + - SystemParameterInfo values, SPI_* + Occurs when the pane is closing. - + - SystemParameterInfo flag values, SPIF_* + Constants that specify how the pane is shown in a . - + - CS_* + The pane covers the content when it's open and does not take up space in the control layout. - + - WindowStyle values, WS_* + The pane is shown side-by-side with the content and takes up space in the control layout. - + - Window message values, WM_* + The amount of the pane defined by the property is shown side-by-side + with the content and takes up space in the control layout. + The remaining part of the pane covers the content when it's open and does not take up space in the control layout. - + - Window style extended values, WS_EX_* + The amount of the pane defined by the property is shown side-by-side + with the content and takes up space in the control layout. + The remaining part of the pane pushes the content to the side when it's open and takes up space in the control + layout. - + - GetDeviceCaps nIndex values. + Provides event data for the event. - - Number of bits per pixel + + + Gets or sets a value that indicates whether the pane closing action should be canceled. + true to cancel the pane closing action; otherwise, false. - + - Number of planes + Constants that specify whether the pane is set to the left or to the right of the content in a + . - + - Logical pixels inch in X + The pane is shown to the left of the content. - + - Logical pixels inch in Y + The pane is shown to the right of the content. - + - "FILEOP_FLAGS", FOF_*. + Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a + . + Not intended for general use. - + - EnableMenuItem uEnable values, MF_* + Gets the value as a GridLength. - + - Possible return value for EnableMenuItem + Gets the negative of the value. - - Specifies the type of visual style attribute to set on a window. - - - Non-client area window attributes will be set. - - + - DWMFLIP3DWINDOWPOLICY. DWMFLIP3D_* + Gets the negative of the value calculated by subtracting the value from + the value. - + - DWMNCRENDERINGPOLICY. DWMNCRP_* + Gets the value as a GridLength. - + - DWMWINDOWATTRIBUTE. DWMWA_* + Gets the value. - + - WindowThemeNonClientAttributes + Gets a value calculated by subtracting the value from the + value. - - Prevents the window caption from being drawn. - - - Prevents the system icon from being drawn. + + + An Enum representing different themes for window commands. + - - Prevents the system icon menu from appearing. + + + HorizontalTitleAlignment Dependency Property. + Default Value: HorizontalAlignment.Left + - - Prevents mirroring of the question mark, even in right-to-left (RTL) layout. + + + Gets/Sets the horizontal alignment of the title. + - - A mask that contains all the valid bits. + + + VerticalTitleAlignment Dependency Property. + Default Value: VerticalAlignment.Bottom + - + - SetWindowPos options + Gets/Sets the vertical alignment of the title. - + - ShowWindow options + Represents a control that allows the user to select a date and a time. - + - SCF_ISSECURE + Occurs when the property is changed. - + - GDI+ Status codes + Gets or sets the date to display + + The date to display. The default is . + - + - MSGFLT_*. New in Vista. Realiased in Windows 7. + Gets or sets the last date to be displayed. + The last date to display. - + - Shell_NotifyIcon messages. NIM_* + Gets or sets the first date to be displayed. + The first date to display. - + - SHAddToRecentDocuments flags. SHARD_* + Gets or sets the day that is considered the beginning of the week. + + A that represents the beginning of the week. The default is the + that is determined by the current culture. + - + - Shell_NotifyIcon flags. NIF_* + Gets or sets a value that indicates whether the current date will be highlighted. + true if the current date is highlighted; otherwise, false. The default is true. - + - Vista only. + Gets or sets a value that indicates the dimension by which calendar and clock are stacked. + + The of the calendar and clock. The default is + . + - + - Vista only. + Gets or sets the currently selected date. + + The date currently selected. The default is null. + - + - Shell_NotifyIcon info flags. NIIF_* + Defines the visibility for time-parts that are visible for the . - - XP SP2 and later. + + + Represents a control that allows the user to select a time. + - - XP and later. + + + Represents a base-class for time picking. + - - Vista and later. + + + This readonly dependency property is to control whether to show the date-picker (in case of ) or hide it (in case of . + - - Windows 7 and later + + + Represents the time 00:00:00; 12:00:00 AM respectively + - - XP and later. Native version called NIIF_ICON_MASK. + + + Represents the time 23:59:59.9999999; 11:59:59.9999999 PM respectively + - + - AC_* + This list contains values from 0 to 55 with an interval of 5. It can be used to bind to and . + + <MahApps:TimePicker SourceSeconds="{x:Static MahApps:TimePickerBase.IntervalOf5}" /> + <MahApps:DateTimePicker SourceSeconds="{x:Static MahApps:TimePickerBase.IntervalOf5}" /> + + + Returns a list containing {0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55}. + - + - 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. + This list contains values from 0 to 50 with an interval of 10. It can be used to bind to and . + + <MahApps:TimePicker SourceSeconds="{x:Static MahApps:TimePickerBase.IntervalOf10}" /> + <MahApps:DateTimePicker SourceSeconds="{x:Static MahApps:TimePickerBase.IntervalOf10}" /> + + + Returns a list containing {0, 10, 20, 30, 40, 50}. + - - The idlist for the shell item that should be added to the recent docs folder. + + + This list contains values from 0 to 45 with an interval of 15. It can be used to bind to and . + + + <MahApps:TimePicker SourceSeconds="{x:Static MahApps:TimePickerBase.IntervalOf15}" /> + <MahApps:DateTimePicker SourceSeconds="{x:Static MahApps:TimePickerBase.IntervalOf15}" /> + + + Returns a list containing {0, 15, 30, 45}. + - - The id of the application that should be associated with this recent doc. + + + Occurs when the property is changed. + - - Defines options that are used to set window visual style attributes. + + + Gets or sets a value indicating the culture to be used in string formatting operations. + - + - A combination of flags that modify window visual style attributes. - Can be a combination of the WTNCA constants. + Gets or sets a value indicating the visibility of the clock hands in the user interface (UI). + + The visibility definition of the clock hands. The default is . + - + - 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. + Gets or sets a value indicating whether the date can be selected or not. This property is read-only. - - Width of left border that retains its size. + + + Gets or sets a value indicating whether the clock of this control is visible in the user interface (UI). This is a + dependency property. + + + If this value is set to false then is set to + + + + true if the clock is visible; otherwise, false. The default value is true. + - - Width of right border that retains its size. + + + Gets or sets a value indicating whether the drop-down for a box is currently + open. + + true if the drop-down is open; otherwise, false. The default is false. - - Height of top border that retains its size. + + + Gets or sets a value indicating whether the contents of the are not editable. + + + true if the is read-only; otherwise, false. The default is false. + - - Height of bottom border that retains its size. + + + Gets or sets a value indicating the visibility of the selectable date-time-parts in the user interface (UI). + + + visibility definition of the selectable date-time-parts. The default is . + - + - initialize this field using: Marshal.SizeOf(typeof(APPBARDATA)); + Gets or sets the currently selected time. + + The time currently selected. The default is null. + - - Delegate declaration that matches native WndProc signatures. + + + Gets or sets a collection used to generate the content for selecting the hours. + + + A collection that is used to generate the content for selecting the hours. The default is a list of interger from 0 + to 23 if is false or a list of interger from + 1 to 12 otherwise.. + - - Delegate declaration that matches managed WndProc signatures. + + + Gets or sets a collection used to generate the content for selecting the minutes. + + + A collection that is used to generate the content for selecting the minutes. The default is a list of int from + 0 to 59. + - + - Sets attributes to control how visual styles are applied to a specified window. + Gets or sets a collection used to generate the content for selecting the seconds. - - 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. - + + A collection that is used to generate the content for selecting the minutes. The default is a list of int from + 0 to 59. + - - Overload of SystemParametersInfo for getting and setting NONCLIENTMETRICS. + + + Gets a value indicating whether the that is specified by the + + set by the ( if null) has not a value. + - - Overload of SystemParametersInfo for getting and setting HIGHCONTRAST. + + + When overridden in a derived class, is invoked whenever application code or internal processes call + . + - + - Sets the User Model AppID for the current process, enabling Windows to retrieve this ID + Gets the offset from the selected to use it in as hour + parameter. - + The current hour. + + An integer representing the offset to add to the hour that is selected in the hour-picker for setting the correct + . The offset is determined as follows: + + + ConditionOffset + + + is false0 + + + Selected hour is between 1 AM and 11 AM0 + + + Selected hour is 12 AM-12h + + + Selected hour is between 12 PM and 11 PM+12h + + + - + - Retrieves the User Model AppID that has been explicitly set for the current process via SetCurrentProcessExplicitAppUserModelID + A control that allows the user to toggle between two states: One represents true; The other represents false. - - - ASSOCIATIONLEVEL, AL_* + + + Gets/sets the font family of the header. + - - ASSOCIATIONTYPE, AT_* + + + Gets/sets the text to display when the control is in it's On state. + - - FileDialog AddPlace options. FDAP_* + + + Gets/sets the text to display when the control is in it's Off state. + - - IFileDialog options. FOS_* + + + Gets/sets the brush used for the switch's foreground. + - - FDE_OVERWRITE_RESPONSE. FDEOR_* + + + Gets/sets the brush used for the on-switch's foreground. + - - FDE_SHAREVIOLATION_RESPONSE. FDESVR_* + + + Gets/sets the brush used for the off-switch's foreground. + - - ShellItem attribute flags. SIATTRIBFLAGS_* + + + Gets/sets the brush used for the thumb indicator. + - + - Flags for SetTabProperties. STPF_* + Gets/sets the brush used for the thumb indicator. - The native enum was called STPFLAG. - + - Flags for Setting Taskbar Progress state. TBPF_* + Gets/sets the width of the thumb indicator. - - The native enum was called TBPFLAG. - - + - THUMBBUTTON mask. THB_* + Gets/sets the control's content flow direction. - + - THUMBBUTTON flags. THBF_* + Gets/sets the control's toggle switch button style. - + - GetPropertyStoreFlags. GPS_*. + Gets/sets whether the control is Checked (On) or not (Off). - - These are new for Vista, but are used in downlevel components - - + - KNOWNDESTCATEGORY. KDC_* + Gets/sets the command which will be executed if the IsChecked property was changed. - - Objects can be copied - DROPEFFECT_COPY + + + Gets/sets the command which will be executed if the checked event of the control is fired. + - - Objects can be moved - DROPEFFECT_MOVE + + + Gets/sets the command which will be executed if the checked event of the control is fired. + - - Objects can be linked - - DROPEFFECT_LINK. - - If this bit is set on an item in the shell folder, a - 'Create Shortcut' menu item will be added to the File - menu and context menus for the item. If the user selects - that command, your IContextMenu::InvokeCommand() will be called - with 'link'. - That flag will also be used to determine if 'Create Shortcut' - should be added when the item in your folder is dragged to another - folder. - + + + Gets/sets the command parameter which will be passed by the CheckChangedCommand. + - - supports BindToObject(IID_IStorage) + + + Gets/sets the command parameter which will be passed by the CheckedCommand. + - - Objects can be renamed + + + Gets/sets the command parameter which will be passed by the UnCheckedCommand. + - - Objects can be deleted + + + An event that is raised when the value of IsChecked changes. + - - Objects have property sheets + + + A Button that allows the user to toggle between two states. + - - Objects are drop target - - - Object is encrypted (use alt color) - - - 'Slow' object - - - Ghosted icon - - - Shortcut (link) - - - Shared - - - Read-only - - - Hidden object - - - May contain children with SFGAO_FILESYSTEM - - - Support BindToObject(IID_IShellFolder) - - - Is a win32 file system object (file/folder/root) - - - May contain children with SFGAO_FOLDER (may be slow) - - - Invalidate cached information (may be slow) - - - Is this removeable media? - - - Object is compressed (use alt color) - - - Supports IShellFolder, but only implements CreateViewObject() (non-folder view) - - - Is a non-enumerated object (should be hidden) - - - Should show bold in explorer tree - - - Obsolete - - - Obsolete - - - Supports BindToObject(IID_IStream) - - - May contain children with SFGAO_STORAGE or SFGAO_STREAM - - - For determining storage capabilities, ie for open/save semantics - - + - Attributes that are masked out for PKEY_SFGAOFlags because they are considered - to cause slow calculations or lack context - (SFGAO_VALIDATE | SFGAO_ISSLOW | SFGAO_HASSUBFOLDER and others) + Gets/sets the brush used for the control's foreground. - + - IShellFolder::EnumObjects grfFlags bits. Also called SHCONT + Gets/sets the brush used for the on-switch's foreground. - + - IShellFolder::GetDisplayNameOf/SetNameOf uFlags. Also called SHGDNF. + Gets/sets the brush used for the off-switch's foreground. - - For compatibility with SIGDN, these bits must all sit in the LOW word. - - + - SHELLITEMCOMPAREHINTF. SICHINT_*. + Gets/sets the brush used for the thumb indicator. - - iOrder based on display in a folder view - - - exact instance compare - - - iOrder based on canonical name (better performance) - - + - ShellItem enum. SIGDN_*. + Gets/sets the brush used for the thumb indicator. - - - STR_GPS_* - - - When requesting a property store through IShellFolder, you can specify the equivalent of - GPS_DEFAULT by passing in a null IBindCtx parameter. - - You can specify the equivalent of GPS_READWRITE by passing a mode of STGM_READWRITE | STGM_EXCLUSIVE - in the bind context - - Here are the string versions of GPS_ flags, passed to IShellFolder::BindToObject() via IBindCtx::RegisterObjectParam() - These flags are valid when requesting an IPropertySetStorage or IPropertyStore handler - - The meaning of these flags are described above. - - There is no STR_ equivalent for GPS_TEMPORARY because temporary property stores - are provided by IShellItem2 only -- not by the underlying IShellFolder. - - - + - WPARAM value for a THUMBBUTTON being clicked. + Gets/sets the width of the thumb indicator. - - fmtid - - - pid - - - PKEY_Title - - - PKEY_AppUserModel_ID - - - PKEY_AppUserModel_IsDestListSeparator - - - PKEY_AppUserModel_RelaunchCommand - - - PKEY_AppUserModel_RelaunchDisplayNameResource - - - PKEY_AppUserModel_RelaunchIconResource - - - Unknown Object Array - - + - Shell Namespace helper + enumeration for the different transition types - + - Shell Namespace helper 2 + Use the VisualState DefaultTransition - + - This function must be called first to validate use of other members. + Use the VisualState Normal - + - This function adds a tab for hwnd to the taskbar. + Use the VisualState UpTransition - The HWND for which to add the tab. - + - This function deletes a tab for hwnd from the taskbar. + Use the VisualState DownTransition - The HWND for which the tab is to be deleted. - + - This function activates the tab associated with hwnd on the taskbar. + Use the VisualState RightTransition - The HWND for which the tab is to be actuvated. - + - This function marks hwnd in the taskbar as the active tab. + Use the VisualState RightReplaceTransition - The HWND to activate. - + - Marks a window as full-screen. + Use the VisualState LeftTransition - The handle of the window to be marked. - A Boolean value marking the desired full-screen status of the window. - - Setting the value of fFullscreen to true, the Shell treats this window as a full-screen window, and the taskbar - is moved to the bottom of the z-order when this window is active. Setting the value of fFullscreen to false - removes the full-screen marking, but does not cause the Shell to treat the window as though it were - definitely not full-screen. With a false fFullscreen value, the Shell depends on its automatic detection facility - to specify how the window should be treated, possibly still flagging the window as full-screen. - - + - Allows an application to retrieve the most recent and frequent documents opened in that app, as reported via SHAddToRecentDocs + Use the VisualState LeftReplaceTransition - + - Set the App User Model ID for the application retrieving this list. If an AppID is not provided via this method, - the system will use a heuristically determined ID. This method must be called before GetList. + Use a custom VisualState, the name must be set using CustomVisualStatesName property - App Id. - + - Retrieve an IEnumObjects or IObjectArray for IShellItems and/or IShellLinks. - Items may appear in both the frequent and recent lists. + A ContentControl that animates content as it loads and unloads. - - + - Provides access to the App User Model ID on objects supporting this value. + Gets or sets the name of the custom transition visual state. - + - Provides access to the ProgID associated with an object + Gets/sets if the content is transitioning. - + - Wraps an IStream interface pointer from COM into a form consumable by .Net. + Reload the current transition if the content is the same. - - This implementation is immutable, though it's possible that the underlying - stream can be changed in another context. - - + - Wraps a native IStream interface into a CLR Stream subclass. + Helper methods for UI-related tasks. + This class was obtained from Philip Sumi (a fellow WPF Disciples blog) + http://www.hardcodet.net/uploads/2009/06/UIHelper.cs - - The stream that this object wraps. - - - Note that the parameter is passed by ref. On successful creation it is - zeroed out to the caller. This object becomes responsible for the lifetime - management of the wrapped IStream. - - + - Wraps a managed stream instance into an interface pointer consumable by COM. + Finds a parent of a given item on the visual tree. + The type of the queried item. + A direct or indirect child of the + queried item. + The first parent item that matches the submitted + type parameter. If not matching item can be found, a null + reference is being returned. - + - Initializes a new instance of the ManagedIStream class with the specified managed Stream object. + Finds a Child of a given item in the visual tree. - - The stream that this IStream reference is wrapping. - - - - - Creates a new stream object with its own seek pointer that - references the same bytes as the original stream. - - - When this method returns, contains the new stream object. This parameter is passed uninitialized. - - - For more information, see the existing documentation for IStream::Clone in the MSDN library. - This class doesn't implement Clone. A COMException is thrown if it is used. - + A direct parent of the queried item. + The type of the queried item. + x:Name or Name of child. + The first parent item that matches the submitted type parameter. + If not matching item can be found, + a null parent is being returned. - + - Ensures that any changes made to a stream object that is open in transacted - mode are reflected in the parent storage. + This method is an alternative to WPF's + method, which also + supports content elements. Keep in mind that for content element, + this method falls back to the logical tree of the element! - - A value that controls how the changes for the stream object are committed. - - - For more information, see the existing documentation for IStream::Commit in the MSDN library. - + The item to be processed. + The submitted item's parent, if available. Otherwise + null. - + - Copies a specified number of bytes from the current seek pointer in the - stream to the current seek pointer in another stream. + Analyzes both visual and logical tree in order to find all elements of a given + type that are descendants of the item. - - A reference to the destination stream. - - - The number of bytes to copy from the source stream. - - - On successful return, contains the actual number of bytes read from the source. - (Note the native signature is to a ULARGE_INTEGER*, so 64 bits are written - to this parameter on success.) - - - On successful return, contains the actual number of bytes written to the destination. - (Note the native signature is to a ULARGE_INTEGER*, so 64 bits are written - to this parameter on success.) - + The type of the queried items. + The root element that marks the source of the search. If the + source is already of the requested type, it will not be included in the result. + Sometimes it's better to search in the VisualTree (e.g. in tests) + All descendants of that match the requested type. - + - Restricts access to a specified range of bytes in the stream. + This method is an alternative to WPF's + method, which also + supports content elements. Keep in mind that for content elements, + this method falls back to the logical tree of the element. - - The byte offset for the beginning of the range. - - - The length of the range, in bytes, to restrict. - - - The requested restrictions on accessing the range. - - - For more information, see the existing documentation for IStream::LockRegion in the MSDN library. - This class doesn't implement LockRegion. A COMException is thrown if it is used. - + The item to be processed. + Sometimes it's better to search in the VisualTree (e.g. in tests) + The submitted item's child elements, if available. - + - Reads a specified number of bytes from the stream object into memory starting at the current seek pointer. + Tries to locate a given item within the visual tree, + starting with the dependency object at a given position. - - When this method returns, contains the data read from the stream. This parameter is passed uninitialized. - - - The number of bytes to read from the stream object. - - - A pointer to a ULONG variable that receives the actual number of bytes read from the stream object. - - - For more information, see the existing documentation for ISequentialStream::Read in the MSDN library. - + The type of the element to be found + on the visual tree of the element at the given location. + The main element which is used to perform + hit testing. + The position to be evaluated on the origin. - + - Discards all changes that have been made to a transacted stream since the last Commit call. + Gets or sets the value indicating current light style for the minimize button. - - This class doesn't implement Revert. A COMException is thrown if it is used. - - + - Changes the seek pointer to a new location relative to the beginning of the - stream, to the end of the stream, or to the current seek pointer. + Gets or sets the value indicating current light style for the maximize button. - - The displacement to add to dwOrigin. - - - The origin of the seek. The origin can be the beginning of the file, the current seek pointer, or the end of the file. - - - On successful return, contains the offset of the seek pointer from the beginning of the stream. - (Note the native signature is to a ULARGE_INTEGER*, so 64 bits are written - to this parameter on success.) - - - For more information, see the existing documentation for IStream::Seek in the MSDN library. - - + - Changes the size of the stream object. + Gets or sets the value indicating current light style for the close button. - - The new size of the stream as a number of bytes. - - - For more information, see the existing documentation for IStream::SetSize in the MSDN library. - - + - Retrieves the STATSTG structure for this stream. + Gets or sets the value indicating current dark style for the minimize button. - - When this method returns, contains a STATSTG structure that describes this stream object. - This parameter is passed uninitialized. - - - Members in the STATSTG structure that this method does not return, thus saving some memory allocation operations. - - + - Removes the access restriction on a range of bytes previously restricted with the LockRegion method. + Gets or sets the value indicating current dark style for the maximize button. - The byte offset for the beginning of the range. - - - The length, in bytes, of the range to restrict. - - - The access restrictions previously placed on the range. - - - For more information, see the existing documentation for IStream::UnlockRegion in the MSDN library. - This class doesn't implement UnlockRegion. A COMException is thrown if it is used. - - + - Writes a specified number of bytes into the stream object starting at the current seek pointer. + Gets or sets the value indicating current dark style for the close button. - - The buffer to write this stream to. - - - The number of bytes to write to the stream. - - - On successful return, contains the actual number of bytes written to the stream object. - If the caller sets this pointer to null, this method does not provide the actual number - of bytes written. - - + - Releases resources controlled by this object. + Gets or sets the value indicating current theme. - - Dispose can be called multiple times, but trying to use the object - after it has been disposed will generally throw ObjectDisposedExceptions. - - + - Wrapper around File.Copy to provide feedback as to whether the file wasn't copied because it didn't exist. + Gets or sets the minimize button tooltip. - - + - Simple guard against the exceptions that File.Delete throws on null and empty strings. + Gets or sets the maximize button tooltip. - The path to delete. Unlike File.Delete, this can be null or empty. - - Note that File.Delete, and by extension SafeDeleteFile, does not throw an exception - if the file does not exist. - - + - Utility to help classes catenate their properties for implementing ToString(). + Gets or sets the close button tooltip. - The StringBuilder to catenate the results into. - The name of the property to be catenated. - The value of the property to be catenated. - + - Generates ToString functionality for a struct. This is an expensive way to do it, - it exists for the sake of debugging while classes are in flux. - Eventually this should just be removed and the classes should - do this without reflection. + Gets or sets the restore button tooltip. - - - - + - Encodes a URL string. Duplicated functionality from System.Web.HttpUtility.UrlEncode. + Gets or sets the value indicating current theme. - - - - Duplicated from System.Web.HttpUtility because System.Web isn't part of the client profile. - URL Encoding replaces ' ' with '+' and unsafe ASCII characters with '%XX'. - Safe characters are defined in RFC2396 (http://www.ietf.org/rfc/rfc2396.txt). - They are the 7-bit ASCII alphanumerics and the mark characters "-_.!~*'()". - This implementation does not treat '~' as a safe character to be consistent with the System.Web version. - - - - GDI's DeleteObject - - GDI+'s DisposeImage - + + + Gets or sets the value indicating light theme template. + - - From a list of BitmapFrames find the one that best matches the requested dimensions. - The methods used here are copied from Win32 sources. We want to be consistent with - system behaviors. + + + Gets or sets the value indicating light theme template. + - - Convert a native integer that represent a color with an alpha channel into a Color struct. - The integer that represents the color. Its bits are of the format 0xAARRGGBB. - A Color representation of the parameter. + + + Gets or sets the value indicating whether to show the separators. + - + - A static class for retail validated assertions. - Instead of breaking into the debugger an exception is thrown. + Gets or sets the value indicating whether to show the last separator. - + - Ensure that the current thread's apartment state is what's expected. + Gets or sets the value indicating separator height. - - The required apartment state for the current thread. - - - The message string for the exception to be thrown if the state is invalid. - - - Thrown if the calling thread's apartment state is not the same as the requiredState. - - + - Ensure that an argument is neither null nor empty. + Gets or sets the value indicating whether to show the separator. - The string to validate. - The name of the parameter that will be presented if an exception is thrown. - + - Ensure that an argument is neither null nor does it consist only of whitespace. + Doesn't overlay flyouts nor a hidden TitleBar. - The string to validate. - The name of the parameter that will be presented if an exception is thrown. - - Verifies that an argument is not null. - Type of the object to validate. Must be a class. - The object to validate. - The name of the parameter that will be presented if an exception is thrown. + + + Overlays opened controls. + - - Verifies that an argument is not null. - Type of the object to validate. Must be a class. - The object to validate. - The name of the parameter that will be presented if an exception is thrown. + + + Overlays a hidden TitleBar. + - - Verifies that an argument is null. - Type of the object to validate. Must be a class. - The object to validate. - The name of the parameter that will be presented if an exception is thrown. + + + Refreshes the application settings property values from persistent storage. + - + - Verifies the specified statement is true. Throws an ArgumentException if it's not. + Upgrades the application settings on loading. - The statement to be verified as true. - Name of the parameter to include in the ArgumentException. - The message to include in the ArgumentException. - + - Verifies that the specified value is within the expected range. The assertion fails if it isn't. + Updates application settings to reflect a more recent installation of the application. - The lower bound inclusive value. - The value to verify. - The upper bound exclusive value. - The name of the parameter that caused the current exception. - - Display the system menu at a specified location. - The MetroWindow - The location to display the system menu, in logical screen coordinates. + + + Stores the current values of the settings properties. + - + - Private constructor. The public way to access this class is through the static Current property. + this settings class is the default way to save the placement of the window - - The extent of the top of the window to treat as the caption. + + + Upgrades the application settings on loading. + - - The Window that's chrome is being modified. + + + Determining Ideal Text Color Based on Specified Background Color + http://www.codeproject.com/KB/GDI-plus/IdealTextColor.aspx + + The bg. + - - Underlying HWND for the _window. + + + Converts a double representing either hour/minute/second to the corresponding angle. + - - Object that describes the current modifications being made to the chrome. + + + Converts the value from true to false and false to true. + - + - This method handles the window size if the taskbar is set to auto-hide. + Converts a String into a Visibility enumeration (and back) + The FalseEquivalent can be declared with the "FalseEquivalent" property - - Add and remove a native WindowStyle from the HWND. - The styles to be removed. These can be bitwise combined. - The styles to be added. These can be bitwise combined. - Whether the styles of the HWND were modified as a result of this call. + + + Initialize the properties with standard values + - + - Get the WindowState as the native HWND knows it to be. This isn't necessarily the same as what Window thinks. + FalseEquivalent (default : Visibility.Collapsed => see Constructor) - + - Get the bounding rectangle for the window in physical coordinates. + Define whether the opposite boolean value is crucial (default : false) - The bounding rectangle for the window. - + - Update the items in the system menu based on the current, or assumed, WindowState. + Converts a Thickness to a new Thickness. It's possible to ignore a side With the IgnoreThicknessSide property. - - The state to assume that the Window is in. This can be null to query the Window's state. - - - We want to update the menu while we have some control over whether the caption will be repainted. - - + - Matrix of the HT values to return when responding to NC window messages. + Use all sides. - + - Is this using WPF4? + Ignore the left side. - - There are a few specific bugs in Window in 3.5SP1 and below that require workarounds - when handling WM_NCCALCSIZE on the HWND. - - - A borderless window lost his animation, with this we bring it back. + + + Ignore the top side. + + + + + Ignore the right side. + + + + + Ignore the bottom side. + + + + Converts a value. + A converted value. If the method returns null, the valid null value is used. + The value produced by the binding source. + The type of the binding target property. + The converter parameter to use. + The culture to use in the converter. + + + Converts a value. + A converted value. If the method returns null, the valid null value is used. + The value that is produced by the binding target. + The type to convert to. + The converter parameter to use. + The culture to use in the converter. @@ -4756,36 +5072,6 @@ Specifies that a window has a border with a raised edge. - - - Refreshes the application settings property values from persistent storage. - - - - - Updates application settings to reflect a more recent installation of the application. - - - - - Stores the current values of the settings properties. - - - - - Upgrades the application settings on loading. - - - - - this settings class is the default way to save the placement of the window - - - - - Upgrades the application settings on loading. - - Hides the window and activates another window. @@ -4892,66 +5178,6 @@ Return the HashCode for this struct (not garanteed to be unique) - - - Originally from http://xamlcoder.com/blog/2010/11/04/creating-a-metro-ui-style-control/ - - - - - RevealImage - - - - - InitializeComponent - - - - - A control that allows the user to toggle between two states: One represents true; The other represents false. - - - - - Gets/sets the text to display when the control is in it's On state. - - - - - Gets/sets the text to display when the control is in it's Off state. - - - - - Gets/sets the header to display on top of the control. - - - - - Gets/sets the data template used to display the header on the top of the control. - - - - - Gets/sets the brush used for the switch's foreground. - - - - - Gets/sets the control's content flow direction. - - - - - Gets/sets whether the control is Checked (On) or not (Off). - - - - - An event that is raised when the value of IsChecked changes. - - http://msdn.microsoft.com/en-us/library/ms182161.aspx @@ -5046,168 +5272,2303 @@ http://msdn.microsoft.com/en-us/library/windows/desktop/ms647636(v=vs.85).aspx - + - A class that allows for the detection and alteration of a MetroWindow's theme and accent. + An object that represents the foreground color for a Metro . - + - Adds an accent with the given name. + The ResourceDictionary that represents this Accent. - - - true if the accent does not exists and can be added. - + - Adds an app theme with the given name. + Gets/sets the name of the Accent. - - - true if the app theme does not exists and can be added. - + + + Initializes a new instance of the MahApps.Metro.Accent class. + + + + + Initializes a new instance of the MahApps.Metro.Accent class. + + The name of the new Accent. + The URI of the accent ResourceDictionary. + + + + Represents the background theme of the application. + + + + + The ResourceDictionary that represents this application theme. + + + + + Gets the name of the application theme. + + + + + A class that allows for the detection and alteration of a MetroWindow's theme and accent. + + + + + Gets a list of all of default themes. + + + + + Gets a list of all of default metro themes. + + + + + Adds an accent with the given name. + + + + true if the accent does not exists and can be added. + + + + Adds an app theme with the given name. + + + + true if the app theme does not exists and can be added. + + + + Gets app theme with the given resource dictionary. + + + AppTheme + + + + Gets app theme with the given name and theme type (light or dark). + + + AppTheme + + + + Gets the inverse of the given . + This method relies on the "Dark" or "Light" affix to be present. + + The app theme. + The inverse or null if it couldn't be found. + + Returns BaseLight, if BaseDark is given or vice versa. + Custom Themes must end with "Dark" or "Light" for this to work, for example "CustomDark" and "CustomLight". + + + + + Gets the with the given name. + + + The or null, if the app theme wasn't found + + + + Gets the with the given resource dictionary. + + + The or null, if the accent wasn't found. + + + + Determines whether the specified resource dictionary represents an . + + This might include runtime accents which do not have a resource uri. + + The resources. + true if the resource dictionary is an ; otherwise, false. + resources + + + + Gets a resource from the detected AppStyle. + + The window to check. If this is null, the Application's sources will be checked. + The key to check against. + The resource object or null, if the resource wasn't found. + + + + Change the theme for the whole application. + + + + + + + Change theme for the given window. + + + + + + + Change accent and theme for the whole application. + + The instance of Application to change. + The accent to apply. + The theme to apply. + + + + Change accent and theme for the given window. + + The Window to change. + The accent to apply. + The theme to apply. + + + + Changes the accent and theme of a ResourceDictionary directly. + + The ResourceDictionary to modify. + The accent to apply to the ResourceDictionary. + The theme to apply to the ResourceDictionary. + + + + Copies all resource keys from one resource to another. + + The source resource dictionary. + The destination resource dictionary. + + fromRD + or + toRD + + + + + Scans the window resources and returns it's accent and theme. + + + + + Scans the window resources and returns it's accent and theme. + + The Window to scan. + + + + Scans the application resources and returns it's accent and theme. + + The Application instance to scan. + + + + Scans a resources and returns it's accent and theme. + + The ResourceDictionary to check. + + + + This event fires if accent color and theme was changed + this should be using the weak event pattern, but for now it's enough + + + + + Invalidates global colors and resources. + Sometimes the ContextMenu is not changing the colors, so this will fix it. + + + + IID_IApplicationAssociationRegistration + + + IID_IConnectionPoint + + + IID_IConnectionPointContainer + + + IID_IEnumConnectionPoints + + + IID_IEnumConnections + + + IID_IEnumIDList + + + IID_IEnumObjects + + + IID_IFileDialog + + + IID_IFileDialogEvents + + + IID_IFileOpenDialog + + + IID_IFileSaveDialog + + + IID_IHTMLDocument + + + IID_IHTMLDocument2 + + + IID_IModalWindow + + + IID_IObjectArray + + + IID_IObjectCollection + + + IID_IPropertyNotifySink + + + IID_IPropertyStore + + + IID_IServiceProvider + + + IID_IShellFolder + + + IID_IShellLink + + + IID_IShellItem + + + IID_IShellItem2 + + + IID_IShellItemArray + + + IID_ITaskbarList + + + IID_ITaskbarList2 + + + IID_IUnknown + + + IID_IWebBrowser2 + + + DIID_DWebBrowserEvents + + + IID_DWebBrowserEvents2 + + + IID_IWICBitmapDecoder + + + IID_IWICBitmapFlipRotator + + + IID_IWICBitmapFrameDecode + + + IID_IWICBitmap + + + IID_IWICBitmapSource + + + IID_IWICFormatConverter + + + IID_IWICImagingFactory + + + IID_IWICStream + + + IID_IApplicationDestinations + + + IID_IApplicationDocumentLists + + + IID_ICustomDestinationList + + + IID_IObjectWithAppUserModelID + + + IID_IObjectWithProgID + + + IID_ITaskbarList3 + + + IID_ITaskbarList4 + + + SID_SWebBrowserApp + + + CLSID_ApplicationAssociationRegistration + IID_IApplicationAssociationRegistration + + + CLSID_DragDropHelper + + + CLSID_FileOpenDialog + IID_IFileOpenDialog + + + CLSID_FileSaveDialog + IID_IFileSaveDialog + + + CLSID_TaskbarList + IID_ITaskbarList + + + CLSID_EnumerableObjectCollection + IID_IEnumObjects. + + + CLSID_ShellLink + IID_IShellLink + + + CLSID_WICImagingFactory + + + CLSID_DestinationList + IID_ICustomDestinationList + + + CLSID_ApplicationDestinations + IID_IApplicationDestinations + + + CLSID_ApplicationDocumentLists + IID_IApplicationDocumentLists + + + A static class for verifying assumptions. + + + A function signature for Assert.Evaluate. + + + A function signature for Assert.Implies. + Returns the truth of a predicate. + + + + Executes the specified argument. + + The function to execute. + + + Obsolete: Use Standard.Assert.AreEqual instead of Assert.Equals + The generic type to compare for equality. + The first generic type data to compare. This is is the expected value. + The second generic type data to compare. This is the actual value. + + + + Verifies that two generic type data are equal. The assertion fails if they are not. + + The generic type to compare for equality. + The first generic type data to compare. This is is the expected value. + The second generic type data to compare. This is the actual value. + This breaks into the debugger in the case of a failed assertion. + + + + Verifies that two generic type data are not equal. The assertion fails if they are. + + The generic type to compare for inequality. + The first generic type data to compare. This is is the value that's not expected. + The second generic type data to compare. This is the actual value. + This breaks into the debugger in the case of a failed assertion. + + + + Verifies that if the specified condition is true, then so is the result. + The assertion fails if the condition is true but the result is false. + + if set to true [condition]. + + A second Boolean statement. If the first was true then so must this be. + If the first statement was false then the value of this is ignored. + + This breaks into the debugger in the case of a failed assertion. + + + + Lazy evaluation overload. Verifies that if a condition is true, then so is a secondary value. + + The conditional value. + A function to be evaluated for truth if the condition argument is true. + + This overload only evaluates the result if the first condition is true. + + + + + Verifies that a string has content. I.e. it is not null and it is not empty. + + The string to verify. + + + + Verifies that a string has content. I.e. it is not null and it is not purely whitespace. + + The string to verify. + + + + Verifies the specified value is not null. The assertion fails if it is. + + The generic reference type. + The value to check for nullness. + This breaks into the debugger in the case of a failed assertion. + + + + Verifies that the specified condition is false. The assertion fails if it is true. + + The expression that should be false. + This breaks into the debugger in the case of a failed assertion. + + + + Verifies that the specified condition is false. The assertion fails if it is true. + + The expression that should be false. + The message to display if the condition is true. + This breaks into the debugger in the case of a failed assertion. + + + + Verifies that the specified condition is true. The assertion fails if it is not. + + A condition that is expected to be true. + This breaks into the debugger in the case of a failed assertion. + + + + Verifies that the specified condition is true. The assertion fails if it is not. + + A condition that is expected to be true. + The message to write in case the condition is false. + This breaks into the debugger in the case of a failed assertion. + + + + This line should never be executed. The assertion always fails. + + This breaks into the debugger in the case of a failed assertion. + + + + This line should never be executed. The assertion always fails. + + The message to display if this function is executed. + This breaks into the debugger in the case of a failed assertion. + + + + Verifies that the specified object is null. The assertion fails if it is not. + + The item to verify is null. + + + + Verifies that the specified value is within the expected range. The assertion fails if it isn't. + + The lower bound inclusive value. + The value to verify. + The upper bound inclusive value. + + + + Verifies that the specified value is within the expected range. The assertion fails if it isn't. + + The lower bound inclusive value. + The value to verify. + The upper bound exclusive value. + + + + Verify the current thread's apartment state is what's expected. The assertion fails if it isn't + + + The expected apartment state for the current thread. + + This breaks into the debugger in the case of a failed assertion. + + + + DoubleUtil uses fixed eps to provide fuzzy comparison functionality for doubles. + Note that FP noise is a big problem and using any of these compare + methods is not a complete solution, but rather the way to reduce + the probability of repeating unnecessary work. + + + + + Epsilon - more or less random, more or less small number. + + + + + AreClose returns whether or not two doubles are "close". That is, whether or + not they are within epsilon of each other. + There are plenty of ways for this to return false even for numbers which + are theoretically identical, so no code calling this should fail to work if this + returns false. + + The first double to compare. + The second double to compare. + The result of the AreClose comparision. + + + + LessThan returns whether or not the first double is less than the second double. + That is, whether or not the first is strictly less than *and* not within epsilon of + the other number. + There are plenty of ways for this to return false even for numbers which + are theoretically identical, so no code calling this should fail to work if this + returns false. + + The first double to compare. + The second double to compare. + The result of the LessThan comparision. + + + + GreaterThan returns whether or not the first double is greater than the second double. + That is, whether or not the first is strictly greater than *and* not within epsilon of + the other number. + There are plenty of ways for this to return false even for numbers which + are theoretically identical, so no code calling this should fail to work if this + returns false. + + The first double to compare. + The second double to compare. + The result of the GreaterThan comparision. + + + + LessThanOrClose returns whether or not the first double is less than or close to + the second double. That is, whether or not the first is strictly less than or within + epsilon of the other number. + There are plenty of ways for this to return false even for numbers which + are theoretically identical, so no code calling this should fail to work if this + returns false. + + The first double to compare. + The second double to compare. + The result of the LessThanOrClose comparision. + + + + GreaterThanOrClose returns whether or not the first double is greater than or close to + the second double. That is, whether or not the first is strictly greater than or within + epsilon of the other number. + There are plenty of ways for this to return false even for numbers which + are theoretically identical, so no code calling this should fail to work if this + returns false. + + The first double to compare. + The second double to compare. + The result of the GreaterThanOrClose comparision. + + + + Test to see if a double is a finite number (is not NaN or Infinity). + + The value to test. + Whether or not the value is a finite number. + + + + Test to see if a double a valid size value (is finite and > 0). + + The value to test. + Whether or not the value is a valid size value. + + + + Convert a point in device independent pixels (1/96") to a point in the system coordinates. + + A point in the logical coordinate system. + Returns the parameter converted to the system's coordinates. + + + + Convert a point in system coordinates to a point in device independent pixels (1/96"). + + A point in the physical coordinate system. + Returns the parameter converted to the device independent coordinate system. + + + + Wrapper for common Win32 status codes. + + + + The operation completed successfully. + + + Incorrect function. + + + The system cannot find the file specified. + + + The system cannot find the path specified. + + + The system cannot open the file. + + + Access is denied. + + + The handle is invalid. + + + Not enough storage is available to complete this operation. + + + There are no more files. + + + The process cannot access the file because it is being used by another process. + + + The parameter is incorrect. + + + The data area passed to a system call is too small. + + + Cannot nest calls to LoadModule. + + + Illegal operation attempted on a registry key that has been marked for deletion. + + + Element not found. + + + There was no match for the specified key in the index. + + + An invalid device was specified. + + + The operation was canceled by the user. + + + Cannot find window class. + + + The window class was already registered. + + + The specified datatype is invalid. + + + + Create a new Win32 error. + + The integer value of the error. + + + Performs HRESULT_FROM_WIN32 conversion. + The Win32 error being converted to an HRESULT. + The equivilent HRESULT value. + + + Performs HRESULT_FROM_WIN32 conversion. + The equivilent HRESULT value. + + + Performs the equivalent of Win32's GetLastError() + A Win32Error instance with the result of the native GetLastError + + + + Compare two Win32 error codes for equality. + + The first error code to compare. + The second error code to compare. + Whether the two error codes are the same. + + + + Compare two Win32 error codes for inequality. + + The first error code to compare. + The second error code to compare. + Whether the two error codes are not the same. + + + FACILITY_NULL + + + FACILITY_RPC + + + FACILITY_DISPATCH + + + FACILITY_STORAGE + + + FACILITY_ITF + + + FACILITY_WIN32 + + + FACILITY_WINDOWS + + + FACILITY_CONTROL + + + MSDN doced facility code for ESE errors. + + + FACILITY_WINCODEC (WIC) + + + Wrapper for HRESULT status codes. + + + S_OK + + + S_FALSE + + + E_PENDING + + + E_NOTIMPL + + + E_NOINTERFACE + + + E_POINTER + + + E_ABORT + + + E_FAIL + + + E_UNEXPECTED + + + STG_E_INVALIDFUNCTION + + + REGDB_E_CLASSNOTREG + + + DESTS_E_NO_MATCHING_ASSOC_HANDLER. Win7 internal error code for Jump Lists. + There is no Assoc Handler for the given item registered by the specified application. + + + DESTS_E_NORECDOCS. Win7 internal error code for Jump Lists. + The given item is excluded from the recent docs folder by the NoRecDocs bit on its registration. + + + DESTS_E_NOTALLCLEARED. Win7 internal error code for Jump Lists. + Not all of the items were successfully cleared + + + E_ACCESSDENIED + Win32Error ERROR_ACCESS_DENIED. + + + E_OUTOFMEMORY + Win32Error ERROR_OUTOFMEMORY. + + + E_INVALIDARG + Win32Error ERROR_INVALID_PARAMETER. + + + INTSAFE_E_ARITHMETIC_OVERFLOW + + + COR_E_OBJECTDISPOSED + + + WC_E_GREATERTHAN + + + WC_E_SYNTAX + + + + Create an HRESULT from an integer value. + + + + + + Convert an HRESULT to an int. Used for COM interface declarations out of our control. + + + + + retrieve HRESULT_FACILITY + + + + + retrieve HRESULT_CODE + + + + + Get a string representation of this HRESULT. + + + + + + Convert the result of Win32 GetLastError() into a raised exception. + + + + + HIGHCONTRAST flags + + + + + DROPIMAGE_* + + + + + BITMAPINFOHEADER Compression type. BI_*. + + + + + CombingRgn flags. RGN_* + + + + + Creates the intersection of the two combined regions. + + + + + Creates the union of two combined regions. + + + + + Creates the union of two combined regions except for any overlapping areas. + + + + + Combines the parts of hrgnSrc1 that are not part of hrgnSrc2. + + + + + Creates a copy of the region identified by hrgnSrc1. + + + + + For IWebBrowser2. OLECMDEXECOPT_* + + + + + For IWebBrowser2. OLECMDF_* + + + + + For IWebBrowser2. OLECMDID_* + + + + + For IWebBrowser2. READYSTATE_* + + + + + DATAOBJ_GET_ITEM_FLAGS. DOGIF_*. + + + + Use the system default, which is to display all error dialog boxes. + + + + The system does not display the critical-error-handler message box. + Instead, the system sends the error to the calling process. + + + + + 64-bit Windows: The system automatically fixes memory alignment faults and makes them + invisible to the application. It does this for the calling process and any descendant processes. + After this value is set for a process, subsequent attempts to clear the value are ignored. + + + + + The system does not display the general-protection-fault message box. + This flag should only be set by debugging applications that handle general + protection (GP) faults themselves with an exception handler. + + + + + The system does not display a message box when it fails to find a file. + Instead, the error is returned to the calling process. + + + + + Non-client hit test values, HT* + + + + + GetClassLongPtr values, GCLP_* + + + + + GetWindowLongPtr values, GWL_* + + + + + SystemMetrics. SM_* + + + + + SystemParameterInfo values, SPI_* + + + + + SystemParameterInfo flag values, SPIF_* + + + + + CS_* + + + + + WindowStyle values, WS_* + + + + + Window message values, WM_* + + + + + Window style extended values, WS_EX_* + + + + + GetDeviceCaps nIndex values. + + + + Number of bits per pixel + + + + + Number of planes + + + + + Logical pixels inch in X + + + + + Logical pixels inch in Y + + + + + "FILEOP_FLAGS", FOF_*. + + + + + EnableMenuItem uEnable values, MF_* + + + + + Possible return value for EnableMenuItem + + + + Specifies the type of visual style attribute to set on a window. + + + Non-client area window attributes will be set. + + + + DWMFLIP3DWINDOWPOLICY. DWMFLIP3D_* + + + + + DWMNCRENDERINGPOLICY. DWMNCRP_* + + + + + DWMWINDOWATTRIBUTE. DWMWA_* + + + + + 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. + + + + SetWindowPos options + + + + + ShowWindow options + + + + + SCF_ISSECURE + + + + + GDI+ Status codes + + + + + MSGFLT_*. New in Vista. Realiased in Windows 7. + + + + + Shell_NotifyIcon messages. NIM_* + + + + + SHAddToRecentDocuments flags. SHARD_* + + + + + Shell_NotifyIcon flags. NIF_* + + + + + Vista only. + + + + + Vista only. + + + + + Shell_NotifyIcon info flags. NIIF_* + + + + XP SP2 and later. + + + XP and later. + + + Vista and later. + + + Windows 7 and later + + + XP and later. Native version called NIIF_ICON_MASK. + + + + AC_* + + + + + 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. + + + + The idlist for the shell item that should be added to the recent docs folder. + + + The id of the application that should be associated with this recent doc. + + + 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. + + + + 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. + + + + initialize this field using: Marshal.SizeOf(typeof(APPBARDATA)); + + + + Delegate declaration that matches native WndProc signatures. + + + Delegate declaration that matches managed WndProc signatures. + + + + 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. + + + + Overload of SystemParametersInfo for getting and setting NONCLIENTMETRICS. + + + Overload of SystemParametersInfo for getting and setting HIGHCONTRAST. + + + + Sets the User Model AppID for the current process, enabling Windows to retrieve this ID + + + + + + Retrieves the User Model AppID that has been explicitly set for the current process via SetCurrentProcessExplicitAppUserModelID + + + + + ASSOCIATIONLEVEL, AL_* + + + ASSOCIATIONTYPE, AT_* + + + FileDialog AddPlace options. FDAP_* + + + IFileDialog options. FOS_* + + + FDE_OVERWRITE_RESPONSE. FDEOR_* + + + FDE_SHAREVIOLATION_RESPONSE. FDESVR_* + + + ShellItem attribute flags. SIATTRIBFLAGS_* + + + + Flags for SetTabProperties. STPF_* + + The native enum was called STPFLAG. + + + + Flags for Setting Taskbar Progress state. TBPF_* + + + The native enum was called TBPFLAG. + + + + + THUMBBUTTON mask. THB_* + + + + + THUMBBUTTON flags. THBF_* + + + + + GetPropertyStoreFlags. GPS_*. + + + These are new for Vista, but are used in downlevel components + + + + + KNOWNDESTCATEGORY. KDC_* + + + + Objects can be copied + DROPEFFECT_COPY + + + Objects can be moved + DROPEFFECT_MOVE + + + Objects can be linked + + DROPEFFECT_LINK. + + If this bit is set on an item in the shell folder, a + 'Create Shortcut' menu item will be added to the File + menu and context menus for the item. If the user selects + that command, your IContextMenu::InvokeCommand() will be called + with 'link'. + That flag will also be used to determine if 'Create Shortcut' + should be added when the item in your folder is dragged to another + folder. + + + + supports BindToObject(IID_IStorage) + + + Objects can be renamed + + + Objects can be deleted + + + Objects have property sheets + + + Objects are drop target + + + Object is encrypted (use alt color) + + + 'Slow' object + + + Ghosted icon + + + Shortcut (link) + + + Shared + + + Read-only + + + Hidden object + + + May contain children with SFGAO_FILESYSTEM + + + Support BindToObject(IID_IShellFolder) + + + Is a win32 file system object (file/folder/root) + + + May contain children with SFGAO_FOLDER (may be slow) + + + Invalidate cached information (may be slow) + + + Is this removeable media? + + + Object is compressed (use alt color) + + + Supports IShellFolder, but only implements CreateViewObject() (non-folder view) + + + Is a non-enumerated object (should be hidden) + + + Should show bold in explorer tree + + + Obsolete + + + Obsolete + + + Supports BindToObject(IID_IStream) + + + May contain children with SFGAO_STORAGE or SFGAO_STREAM + + + For determining storage capabilities, ie for open/save semantics + + + + Attributes that are masked out for PKEY_SFGAOFlags because they are considered + to cause slow calculations or lack context + (SFGAO_VALIDATE | SFGAO_ISSLOW | SFGAO_HASSUBFOLDER and others) + + + + + IShellFolder::EnumObjects grfFlags bits. Also called SHCONT + + + + + IShellFolder::GetDisplayNameOf/SetNameOf uFlags. Also called SHGDNF. + + + For compatibility with SIGDN, these bits must all sit in the LOW word. + + + + + SHELLITEMCOMPAREHINTF. SICHINT_*. + + + + iOrder based on display in a folder view + + + exact instance compare + + + iOrder based on canonical name (better performance) + + + + ShellItem enum. SIGDN_*. + + + + + STR_GPS_* + + + When requesting a property store through IShellFolder, you can specify the equivalent of + GPS_DEFAULT by passing in a null IBindCtx parameter. + + You can specify the equivalent of GPS_READWRITE by passing a mode of STGM_READWRITE | STGM_EXCLUSIVE + in the bind context + + Here are the string versions of GPS_ flags, passed to IShellFolder::BindToObject() via IBindCtx::RegisterObjectParam() + These flags are valid when requesting an IPropertySetStorage or IPropertyStore handler + + The meaning of these flags are described above. + + There is no STR_ equivalent for GPS_TEMPORARY because temporary property stores + are provided by IShellItem2 only -- not by the underlying IShellFolder. + + + + + WPARAM value for a THUMBBUTTON being clicked. + + + + fmtid + + + pid + + + PKEY_Title + + + PKEY_AppUserModel_ID + + + PKEY_AppUserModel_IsDestListSeparator + + + PKEY_AppUserModel_RelaunchCommand + + + PKEY_AppUserModel_RelaunchDisplayNameResource + + + PKEY_AppUserModel_RelaunchIconResource + + + Unknown Object Array + + + + Shell Namespace helper + + + + + Shell Namespace helper 2 + + + + + This function must be called first to validate use of other members. + + + + + This function adds a tab for hwnd to the taskbar. + + The HWND for which to add the tab. + + + + This function deletes a tab for hwnd from the taskbar. + + The HWND for which the tab is to be deleted. + + + + This function activates the tab associated with hwnd on the taskbar. + + The HWND for which the tab is to be actuvated. + + + + This function marks hwnd in the taskbar as the active tab. + + The HWND to activate. + + + + Marks a window as full-screen. + + The handle of the window to be marked. + A Boolean value marking the desired full-screen status of the window. + + Setting the value of fFullscreen to true, the Shell treats this window as a full-screen window, and the taskbar + is moved to the bottom of the z-order when this window is active. Setting the value of fFullscreen to false + removes the full-screen marking, but does not cause the Shell to treat the window as though it were + definitely not full-screen. With a false fFullscreen value, the Shell depends on its automatic detection facility + to specify how the window should be treated, possibly still flagging the window as full-screen. + + + + + Allows an application to retrieve the most recent and frequent documents opened in that app, as reported via SHAddToRecentDocs + + + + + Set the App User Model ID for the application retrieving this list. If an AppID is not provided via this method, + the system will use a heuristically determined ID. This method must be called before GetList. + + App Id. + + + + Retrieve an IEnumObjects or IObjectArray for IShellItems and/or IShellLinks. + Items may appear in both the frequent and recent lists. + + + + + + Provides access to the App User Model ID on objects supporting this value. + + + + + Provides access to the ProgID associated with an object + + + + + Wraps an IStream interface pointer from COM into a form consumable by .Net. + + + This implementation is immutable, though it's possible that the underlying + stream can be changed in another context. + + + + + Wraps a native IStream interface into a CLR Stream subclass. + + + The stream that this object wraps. + + + Note that the parameter is passed by ref. On successful creation it is + zeroed out to the caller. This object becomes responsible for the lifetime + management of the wrapped IStream. + + + + + Wraps a managed stream instance into an interface pointer consumable by COM. + + + + + Initializes a new instance of the ManagedIStream class with the specified managed Stream object. + + + The stream that this IStream reference is wrapping. + + + + + Creates a new stream object with its own seek pointer that + references the same bytes as the original stream. + + + When this method returns, contains the new stream object. This parameter is passed uninitialized. + + + For more information, see the existing documentation for IStream::Clone in the MSDN library. + This class doesn't implement Clone. A COMException is thrown if it is used. + + + + + Ensures that any changes made to a stream object that is open in transacted + mode are reflected in the parent storage. + + + A value that controls how the changes for the stream object are committed. + + + For more information, see the existing documentation for IStream::Commit in the MSDN library. + + + + + Copies a specified number of bytes from the current seek pointer in the + stream to the current seek pointer in another stream. + + + A reference to the destination stream. + + + The number of bytes to copy from the source stream. + + + On successful return, contains the actual number of bytes read from the source. + (Note the native signature is to a ULARGE_INTEGER*, so 64 bits are written + to this parameter on success.) + + + On successful return, contains the actual number of bytes written to the destination. + (Note the native signature is to a ULARGE_INTEGER*, so 64 bits are written + to this parameter on success.) + + + + + Restricts access to a specified range of bytes in the stream. + + + The byte offset for the beginning of the range. + + + The length of the range, in bytes, to restrict. + + + The requested restrictions on accessing the range. + + + For more information, see the existing documentation for IStream::LockRegion in the MSDN library. + This class doesn't implement LockRegion. A COMException is thrown if it is used. + + + + + Reads a specified number of bytes from the stream object into memory starting at the current seek pointer. + + + When this method returns, contains the data read from the stream. This parameter is passed uninitialized. + + + The number of bytes to read from the stream object. + + + A pointer to a ULONG variable that receives the actual number of bytes read from the stream object. + + + For more information, see the existing documentation for ISequentialStream::Read in the MSDN library. + + + + + Discards all changes that have been made to a transacted stream since the last Commit call. + + + This class doesn't implement Revert. A COMException is thrown if it is used. + + + + + Changes the seek pointer to a new location relative to the beginning of the + stream, to the end of the stream, or to the current seek pointer. + + + The displacement to add to dwOrigin. + + + The origin of the seek. The origin can be the beginning of the file, the current seek pointer, or the end of the file. + + + On successful return, contains the offset of the seek pointer from the beginning of the stream. + (Note the native signature is to a ULARGE_INTEGER*, so 64 bits are written + to this parameter on success.) + + + For more information, see the existing documentation for IStream::Seek in the MSDN library. + + + + + Changes the size of the stream object. + + + The new size of the stream as a number of bytes. + + + For more information, see the existing documentation for IStream::SetSize in the MSDN library. + + + + + Retrieves the STATSTG structure for this stream. + + + When this method returns, contains a STATSTG structure that describes this stream object. + This parameter is passed uninitialized. + + + Members in the STATSTG structure that this method does not return, thus saving some memory allocation operations. + + + + + Removes the access restriction on a range of bytes previously restricted with the LockRegion method. + + The byte offset for the beginning of the range. + + + The length, in bytes, of the range to restrict. + + + The access restrictions previously placed on the range. + + + For more information, see the existing documentation for IStream::UnlockRegion in the MSDN library. + This class doesn't implement UnlockRegion. A COMException is thrown if it is used. + + + + + Writes a specified number of bytes into the stream object starting at the current seek pointer. + + + The buffer to write this stream to. + + + The number of bytes to write to the stream. + + + On successful return, contains the actual number of bytes written to the stream object. + If the caller sets this pointer to null, this method does not provide the actual number + of bytes written. + + + - Gets app theme with the given resource dictionary. + Releases resources controlled by this object. - - AppTheme + + Dispose can be called multiple times, but trying to use the object + after it has been disposed will generally throw ObjectDisposedExceptions. + - + - Gets app theme with the given name and theme type (light or dark). + Wrapper around File.Copy to provide feedback as to whether the file wasn't copied because it didn't exist. - - AppTheme + - + - Gets the inverse of the given . - This method relies on the "Dark" or "Light" affix to be present. + Simple guard against the exceptions that File.Delete throws on null and empty strings. - The app theme. - The inverse or null if it couldn't be found. + The path to delete. Unlike File.Delete, this can be null or empty. - Returns BaseLight, if BaseDark is given or vice versa. - Custom Themes must end with "Dark" or "Light" for this to work, for example "CustomDark" and "CustomLight". + Note that File.Delete, and by extension SafeDeleteFile, does not throw an exception + if the file does not exist. - + - Gets the with the given name. + Utility to help classes catenate their properties for implementing ToString(). - - The or null, if the app theme wasn't found + The StringBuilder to catenate the results into. + The name of the property to be catenated. + The value of the property to be catenated. - + - Gets the with the given resource dictionary. + Generates ToString functionality for a struct. This is an expensive way to do it, + it exists for the sake of debugging while classes are in flux. + Eventually this should just be removed and the classes should + do this without reflection. - - The or null, if the accent wasn't found. + + + - + - Determines whether the specified resource dictionary represents an . - - This might include runtime accents which do not have a resource uri. + Encodes a URL string. Duplicated functionality from System.Web.HttpUtility.UrlEncode. - The resources. - true if the resource dictionary is an ; otherwise, false. - resources + + + + Duplicated from System.Web.HttpUtility because System.Web isn't part of the client profile. + URL Encoding replaces ' ' with '+' and unsafe ASCII characters with '%XX'. + Safe characters are defined in RFC2396 (http://www.ietf.org/rfc/rfc2396.txt). + They are the 7-bit ASCII alphanumerics and the mark characters "-_.!~*'()". + This implementation does not treat '~' as a safe character to be consistent with the System.Web version. + - + + GDI's DeleteObject + + + GDI+'s DisposeImage + + + + From a list of BitmapFrames find the one that best matches the requested dimensions. + The methods used here are copied from Win32 sources. We want to be consistent with + system behaviors. + + + Convert a native integer that represent a color with an alpha channel into a Color struct. + The integer that represents the color. Its bits are of the format 0xAARRGGBB. + A Color representation of the parameter. + + - Gets a resource from the detected AppStyle. + A static class for retail validated assertions. + Instead of breaking into the debugger an exception is thrown. - The window to check. If this is null, the Application's sources will be checked. - The key to check against. - The resource object or null, if the resource wasn't found. - + - Change the theme for the whole application. + Ensure that the current thread's apartment state is what's expected. - - + + The required apartment state for the current thread. + + + The message string for the exception to be thrown if the state is invalid. + + + Thrown if the calling thread's apartment state is not the same as the requiredState. + - + - Change theme for the given window. + Ensure that an argument is neither null nor empty. - - + The string to validate. + The name of the parameter that will be presented if an exception is thrown. - + - Change accent and theme for the whole application. + Ensure that an argument is neither null nor does it consist only of whitespace. - The instance of Application to change. - The accent to apply. - The theme to apply. + The string to validate. + The name of the parameter that will be presented if an exception is thrown. - + + Verifies that an argument is not null. + Type of the object to validate. Must be a class. + The object to validate. + The name of the parameter that will be presented if an exception is thrown. + + + Verifies that an argument is not null. + Type of the object to validate. Must be a class. + The object to validate. + The name of the parameter that will be presented if an exception is thrown. + + + Verifies that an argument is null. + Type of the object to validate. Must be a class. + The object to validate. + The name of the parameter that will be presented if an exception is thrown. + + - Change accent and theme for the given window. + Verifies the specified statement is true. Throws an ArgumentException if it's not. - The Window to change. - The accent to apply. - The theme to apply. + The statement to be verified as true. + Name of the parameter to include in the ArgumentException. + The message to include in the ArgumentException. - + - Changes the accent and theme of a ResourceDictionary directly. + Verifies that the specified value is within the expected range. The assertion fails if it isn't. - The ResourceDictionary to modify. - The accent to apply to the ResourceDictionary. - The theme to apply to the ResourceDictionary. + The lower bound inclusive value. + The value to verify. + The upper bound exclusive value. + The name of the parameter that caused the current exception. - + + Display the system menu at a specified location. + The MetroWindow + The location to display the system menu, in logical screen coordinates. + + - Scans the window resources and returns it's accent and theme. + Private constructor. The public way to access this class is through the static Current property. - + + The extent of the top of the window to treat as the caption. + + + Dependency property for IgnoreTaskbarOnMaximize + + - Scans the window resources and returns it's accent and theme. + If this property is true and the attached window's WindowStyle=None then when the window is maximized it will cover the entire + monitor, including the taskbar. - The Window to scan. - + - Scans the application resources and returns it's accent and theme. + Is this using WPF4? - The Application instance to scan. + + There are a few specific bugs in Window in 3.5SP1 and below that require workarounds + when handling WM_NCCALCSIZE on the HWND. + - + + The Window that's chrome is being modified. + + + Underlying HWND for the _window. + + Critical : Critical member + + + + Underlying HWND for the _window. + + Critical : Critical member provides access to HWND's window messages which are critical + + + + Object that describes the current modifications being made to the chrome. + + + + Critical : Store critical methods in critical callback table + Safe : Demands full trust permissions + + + + + Critical : Calls critical methods + Safe : Demands full trust permissions + + + + + Critical : Calls critical methods + Safe : Demands full trust permissions + + + + + Critical : Calls critical methods + Safe : Demands full trust permissions + + + + + Critical : Calls critical methods + + + + + Critical : Store critical methods in critical callback table + Safe : Demands full trust permissions + + + + + Critical : References critical methods + + + + + Critical : Store critical methods in critical callback table + Safe : Demands full trust permissions + + + + + Critical : Accesses critical _hwnd field + Safe : Demands full trust permissions + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + + + + + Critical : Store critical methods in critical callback table + Safe : Demands full trust permissions + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical method + + + + A borderless window lost his animation, with this we bring it back. + + + + Critical : Accesses critical _hwnd + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + + + - Scans a resources and returns it's accent and theme. + This method handles the window size if the taskbar is set to auto-hide. - The ResourceDictionary to check. + + Critical : Calls critical methods + + + + + Critical : Calls critical Marshal.PtrToStructure + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical method + + + + + Critical : Calls critical method + + + + + Critical : Calls critical Marshal.PtrToStructure + + + + + Critical : Calls critical Marshal.PtrToStructure + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + - + + Add and remove a native WindowStyle from the HWND. + The styles to be removed. These can be bitwise combined. + The styles to be added. These can be bitwise combined. + Whether the styles of the HWND were modified as a result of this call. + + Critical : Calls critical methods + + + - Invalidates global colors and resources. - Sometimes the ContextMenu is not changing the colors, so this will fix it. + Get the WindowState as the native HWND knows it to be. This isn't necessarily the same as what Window thinks. + + Critical : Calls critical methods + - + - Gets a list of all of default themes. + Get the bounding rectangle for the window in physical coordinates. + The bounding rectangle for the window. + + Critical : Calls critical methods + - + - Gets a list of all of default metro themes. + Update the items in the system menu based on the current, or assumed, WindowState. + + The state to assume that the Window is in. This can be null to query the Window's state. + + + We want to update the menu while we have some control over whether the caption will be repainted. + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + - + - This event fires if accent color and theme was changed - this should be using the weak event pattern, but for now it's enough + Matrix of the HT values to return when responding to NC window messages. + + + Critical : Calls critical methods + + + + + Critical : Unsubscribes event handler from critical _hwndSource + + + + + Critical : Unsubscribes critical event handler + + + + + Critical : Calls critical methods + + + + + Critical : Calls critical methods + + GeneratedInternalTypeHelper diff --git a/Libraries/MahApps.Metro.dll b/Libraries/MahApps.Metro.dll index b20ced5..0665416 100644 Binary files a/Libraries/MahApps.Metro.dll and b/Libraries/MahApps.Metro.dll differ