Basic Properties

ComponentOne Windows for WPF includes several properties that allow you to set the functionality of the control. Some of the more important properties are listed below. Note that you can see Window Appearance Properties for more information about properties that control appearance.

The following properties let you customize the C1Window control:

 

Property

Description

Content

Gets or sets the content of a ContentControl. This is a dependency property.

ContentTemplate

Gets or sets the data template used to display the content of the ContentControl. This is a dependency property.

DialogResult

Gets or sets the dialog result for the window.

 

Header

Gets or sets the header of this control.

HeaderTemplate

Gets or sets the data template used to display the header.

IsResizable

Gets or sets whether the window can be resized and maximized.

Language

Gets or sets localization/globalization language information that applies to an element.

ModalBackground

Gets or sets the brushed used on the background when showing a modal window.

ShowCloseButton

Gets or sets whether the close 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.

WindowState

Gets or sets a value that indicates whether a window is restored, minimized, or maximized.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.