ComponentOne Window for ASP.NET AJAX: C1Window Elements > Caption Bar Element

Caption Bar Element

The caption bar appears at the top of the C1Window dialog window, and appears similar to a traditional dialog box with a few differences. From left to right the caption bar includes an icon, title text, and several buttons. It has optional pin, reload, collapse/expand, minimize, maximize, and close buttons that appear on the right side of the caption bar when you enable the PinButton, ReloadButton, CollapseExpandButton, MinimizeButton, MaximizeButton, and CloseButton buttons. By default, the Visible property of the pin, reload, collapse/expand, minimize, maximize, and close buttons is set to True; for information about hiding these buttons see Hiding Caption Bar Buttons. You can set the icon using the Icon property and you can specify text for the title on the caption bar by setting the string for the Text property.

The following diagram labels the properties that appear on the caption bar:

 

 

The following table describes each of the elements on the caption bar:

 

Element

Description

Icon

An image shown on the left side of the C1Window dialog window title area. By default Icon is Visible.

Text

Gets or sets text which dispayed on the caption bar of the C1Window dialog window. By default Text is blank.

PinButton

Button that pins and unpins the C1Window dialog window. By default PinButton is not Visible.

ReloadButton

 

Button that reloads the C1Window dialog window content set by the ContentUrl property. By default is not Visible.

CollapseExpandButton

 

Button that collapses or expands the C1Window dialog window. By default CollapseExpandButton is not Visible.

MinimizeButton

Button that minimizes the C1Window dialog window. By default MinimizeButton is Visible.

MaximizeButton

Button that resizes the C1Window dialog window to fit all available space in the browser window. By default MaximizeButton is Visible.

CloseButton

Button that closes the C1Window dialog window. By default CloseButton is Visible.

RestoreButton

Button that is shown instead of the MinimizeButton button or the MaximizeButton button of C1Window dialog window when the window is minimized or maximized. Clicking this button restores the window to the previous size.

 

 

For more information on how to change the caption bar's appearance, see Customizing the Caption Bar.


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.