diff --git a/ChildWindow.md b/ChildWindow.md index 5205f2d..6a548f3 100644 --- a/ChildWindow.md +++ b/ChildWindow.md @@ -12,7 +12,7 @@ When no Width and Height are specified in the WindowContainer, its DesiredSize w Show the dialog by calling ChildWindow.Show or by setting the ChildWindow.WindowState property. ![](ChildWindow_childwindow.jpg) -{{ +``` -}} +``` -## Properties -|| Property || Description -| Caption | Gets or sets the caption of the ChildWindow. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| CaptionForeground | Gets or sets the foreground color of the caption text. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| CaptionIcon | Gets or sets the caption icon. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| CaptionShadowBrush | Gets or sets the brush of the caption's shadow. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| CloseButtonStyle | Gets or sets the style of the ChildWindow's close button. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| CloseButtonVisibility | Gets or sets the visibility of the ChildWindow's close button. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| DesignerWindowState | Gets or sets the state of the ChildWindow in the designer. -| DialogResult | Gets or sets a value indicating whether the ChildWindow was accepted or canceled -| FocusedElement | Gets or sets the FrameworkElement that currently has focus. -| IsActive | Gets or sets whether the control is active. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| IsModal | Gets or sets a value indicating whether the ChildWindow is modal. -| Left | Gets or sets the left position of the ChildWindow. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| Top | Gets or sets the top position of the ChildWindow. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| WindowBackground | Gets or sets the background color of the ChildWindow. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| WindowBorderBrush | Gets or sets the BorderBrush of the ChildWindow. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| WindowBorderThickness | Gets or sets the window's border thickness. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| WindowInactiveBackground | Gets or sets the window's inactive background. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| WindowOpacity | Gets or sets the opacity of the ChildWindow. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| WindowStartupLocation | Gets or sets the startup location of the ChildWindow. -| WindowState | Gets or sets the current state of the ChildWindow. -| WindowStyle | Gets or sets the window's style. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| WindowThickness | Gets or sets the window's thickness. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) +### Properties +| Property | Description | +| --- | --- | +| Caption | Gets or sets the caption of the ChildWindow. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| CaptionForeground | Gets or sets the foreground color of the caption text. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| CaptionIcon | Gets or sets the caption icon. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| CaptionShadowBrush | Gets or sets the brush of the caption's shadow. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| CloseButtonStyle | Gets or sets the style of the ChildWindow's close button. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| CloseButtonVisibility | Gets or sets the visibility of the ChildWindow's close button. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| DesignerWindowState | Gets or sets the state of the ChildWindow in the designer. | +| DialogResult | Gets or sets a value indicating whether the ChildWindow was accepted or canceled | +| FocusedElement | Gets or sets the FrameworkElement that currently has focus. | +| IsActive | Gets or sets whether the control is active. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| IsModal | Gets or sets a value indicating whether the ChildWindow is modal. | +| Left | Gets or sets the left position of the ChildWindow. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| Top | Gets or sets the top position of the ChildWindow. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| WindowBackground | Gets or sets the background color of the ChildWindow. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| WindowBorderBrush | Gets or sets the BorderBrush of the ChildWindow. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| WindowBorderThickness | Gets or sets the window's border thickness. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| WindowInactiveBackground | Gets or sets the window's inactive background. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| WindowOpacity | Gets or sets the opacity of the ChildWindow. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| WindowStartupLocation | Gets or sets the startup location of the ChildWindow. | +| WindowState | Gets or sets the current state of the ChildWindow. | +| WindowStyle | Gets or sets the window's style. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| WindowThickness | Gets or sets the window's thickness. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | -## Events -|| Event || Description -| CloseButtonClicked | Raised when the Close button is clicked. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| Closed | Raised when the ChildWindow is closed. -| Closing | Raised when the ChildWindow is closing. -| HeaderDragDelta | Raised as the mouse changes position when a header has logical focus and mouse capture. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| HeaderIconClicked | Raised when the header icon is clicked. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| HeaderIconDoubleClicked | Raised when the header icon is double-clicked. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| HeaderMouseLeftButtonClicked | Raised when the header is clicked using the left mouse button. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| HeaderMouseLeftButtonDoubleClicked | Raised when the header is double-clicked using the left mouse button. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) -| HeaderMouseRightButtonClicked | Raised when the header is clicked using the right mouse button. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) +### Events +| Event | Description | +| --- | --- | +| CloseButtonClicked | Raised when the Close button is clicked. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| Closed | Raised when the ChildWindow is closed. | +| Closing | Raised when the ChildWindow is closing. | +| HeaderDragDelta | Raised as the mouse changes position when a header has logical focus and mouse capture. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| HeaderIconClicked | Raised when the header icon is clicked. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| HeaderIconDoubleClicked | Raised when the header icon is double-clicked. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| HeaderMouseLeftButtonClicked | Raised when the header is clicked using the left mouse button. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| HeaderMouseLeftButtonDoubleClicked | Raised when the header is double-clicked using the left mouse button. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | +| HeaderMouseRightButtonClicked | Raised when the header is clicked using the right mouse button. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl) | -## Methods -|| Method || Description -| Close | Closes the ChildWindow and sets the WindowState to Closed. -| OnApplyTemplate | Overridden. Invoked whenever application code or internal processes call ApplyTemplate. -| Show | Shows the ChildWindow and sets the WindowState to Open. +### Methods +| Method | Description | +| --- | --- | +| Close | Closes the ChildWindow and sets the WindowState to Closed. | +| OnApplyTemplate | Overridden. Invoked whenever application code or internal processes call ApplyTemplate. | +| Show | Shows the ChildWindow and sets the WindowState to Open. | -**Support this project, check out the [Plus Edition](https://xceed.com/xceed-toolkit-plus-for-wpf/).** ---- \ No newline at end of file +--- +**Support this project, check out the [Plus Edition](https://xceed.com/xceed-toolkit-plus-for-wpf/).** \ No newline at end of file