The C1Window type exposes the following members.
Constructors
Methods
Name | Description | |
---|---|---|
![]() |
AddChild |
Adds a specified object as the child of a ContentControl.
(Inherited from ContentControl.) |
![]() |
AddText |
Adds a specified text string to a ContentControl.
(Inherited from ContentControl.) |
![]() |
BringToFront |
Puts the window in front of all windows.
|
![]() |
CenterOnScreen |
Centers the window in its container.
|
![]() |
Close |
Closes the window.
|
![]() |
Hide |
Hides the window without closing it.
|
![]() |
OnApplyTemplate |
Builds the visual tree for the C1Window control when a new template is applied.
(Overrides C1HeaderedContentControlOnApplyTemplate()()()().) |
![]() |
OnContentChanged |
Called when the Content property changes.
(Inherited from ContentControl.) |
![]() |
OnContentStringFormatChanged |
Occurs when the ContentStringFormat property changes.
(Inherited from ContentControl.) |
![]() |
OnContentTemplateChanged |
Called when the ContentTemplate property changes.
(Inherited from ContentControl.) |
![]() |
OnContentTemplateSelectorChanged |
Called when the ContentTemplateSelector property changes.
(Inherited from ContentControl.) |
![]() |
Show |
Opens the window.
|
![]() |
ShowModal |
Opens the window as modal.
|
Fields
Name | Description | |
---|---|---|
![]() ![]() |
ButtonBackgroundProperty |
Identifies the ButtonBackground dependency property.
|
![]() ![]() |
ButtonForegroundProperty |
Identifies the ButtonForeground dependency property.
|
![]() ![]() |
DialogResultProperty |
Identifies the DialogResult dependency property.
|
![]() ![]() |
IsActiveProperty |
Identifies the IsActive dependency property.
|
![]() ![]() |
IsDraggableProperty |
Identifies the IsDraggable dependency property.
|
![]() ![]() |
IsResizableProperty |
Identifies the IsResizable dependency property.
|
![]() ![]() |
LeftProperty |
Identifies the Left dependency property.
|
![]() ![]() |
ModalBackgroundProperty |
Identifies the ModalBackground dependency property.
|
![]() ![]() |
MouseOverBrushProperty |
Identifies the MouseOverBrush dependency property.
|
![]() ![]() |
PressedBrushProperty |
Identifies the PressedBrush dependency property.
|
![]() ![]() |
ShowCloseButtonProperty |
Identifies the ShowCloseButton dependency property.
|
![]() ![]() |
ShowMaximizeButtonProperty |
Identifies the ShowMaximizeButton dependency property.
|
![]() ![]() |
ShowMinimizeButtonProperty |
Identifies the ShowMinimizeButton dependency property.
|
![]() ![]() |
TopProperty |
Identifies the Top dependency property.
|
![]() ![]() |
WindowStateProperty |
Identifies the WindowState dependency property.
|
Properties
Name | Description | |
---|---|---|
![]() |
ButtonBackground |
Gets or sets the Brush that will be assigned to the Background of the buttons inside the control.
|
![]() |
ButtonForeground |
Gets or sets the Brush that will be assigned to the Foreground of the buttons inside the control.
|
![]() |
Canvas |
Gets or sets the Canvas used to display the window.
|
![]() |
Content |
Gets or sets the content of a ContentControl. This is a dependency property.
(Inherited from ContentControl.) |
![]() |
ContentStringFormat |
Gets or sets a composite string that specifies how to format the Content property if it is displayed as a string.
(Inherited from ContentControl.) |
![]() |
ContentTemplate |
Gets or sets the data template used to display the content of the ContentControl. This is a dependency property.
(Inherited from ContentControl.) |
![]() |
ContentTemplateSelector |
Gets or sets a template selector that enables an application writer to provide custom template-selection logic. This is a dependency property.
(Inherited from ContentControl.) |
![]() |
DialogResult |
Gets or sets the dialog result for the window.
|
![]() |
Dispatcher |
Gets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject.) |
![]() |
HasContent |
Gets a value that indicates whether the ContentControl contains content. This is a dependency property.
(Inherited from ContentControl.) |
![]() |
IsActive |
Gets or sets whether the window is the active window.
|
![]() |
IsDraggable |
Gets or set whether the window can be dragged.
|
![]() |
IsResizable |
Gets or sets whether the window can be resized and maximized.
|
![]() |
Left |
Gets or sets the distance from the left side of the window to the left side of its container.
|
![]() |
LogicalChildren |
Gets an enumerator to the content control's logical child elements.
(Inherited from ContentControl.) |
![]() |
ModalBackground |
Gets or sets the brushed used on the background when showing a modal window.
|
![]() |
MouseOverBrush |
Gets or sets the Brush used to highlight the control when it has the mouse over.
|
![]() |
PressedBrush |
Gets or sets the Brush used to paint a button when it is pressed.
|
![]() |
ShowCloseButton |
Gets or sets whether the maximize button of this window is shown.
|
![]() |
ShowMaximizeButton |
Gets or sets whether the maximize button of this window is shown.
|
![]() |
ShowMinimizeButton |
Gets or sets whether the minimize button of this window is shown.
|
![]() ![]() |
ThemeResources | |
![]() |
Top |
Gets or sets the distance from the top side of the window to the top side of its container.
|
![]() |
WindowState |
Gets or sets a value that indicates whether a window is restored, minimized, or maximized.
|
Events
Name | Description | |
---|---|---|
![]() |
Closed |
Event fired when the window is closed by the user or the Close()()()() method.
|
![]() |
Closing |
Event fired when the window is about to close, allows the handler to stop the window from being closed.
|
![]() |
IsActiveChanged |
Event raised when the [P:IsActive] property has changed.
|
![]() |
PositionChanged |
Fires when the window position changes.
|
![]() |
WindowStateChanged |
Event raised when the [P:WindowState] property has changed.
|