Basic Methods

ComponentOne Windows for WPF includes several methods that allow you to set interaction and customize the control. Some of the more important methods are listed below.

The following methods let you customize the C1Window control:

 

Event

Description

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.

Show

Opens the window as a modeless dialog window.

ShowModal

Opens the window as a modal dialog window.


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