ComponentOne Dialog for ASP.NET Web Forms
Elements / Caption Bar Element
In This Topic
    Caption Bar Element
    In This Topic

    The caption bar appears at the top of the C1Dialog 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 DialogCaptionButtons.Pin, DialogCaptionButtons.Refresh, DialogCaptionButtons.Minimize, DialogCaptionButtons.Maximize, and DialogCaptionButtons.Close buttons. You can specify text for the title on the caption bar by setting the string for the C1Dialog.Title property

    The following diagram labels the properties that appear on the Caption Bar:

    C1Dialog

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

    Element Description
    Title Gets or sets text which displayed on the caption bar of the C1Dialog dialog window. By default Title is blank.
    Pin Button that pins and unpins the C1Dialog dialog window. By default Pin is not Visible.
    Refresh   Button that reloads the C1Dialog dialog window content set by the ContentUrl property. By default is not Visible.
    Minimize Button that minimizes the C1Dialog dialog window. By default Minimize is Visible.
    Maximize Button that resizes the C1Dialog dialog window to fit all available space in the browser window. By default Maximize is Visible.
    Close Button that closes the C1Dialog dialog window. By default Close is Visible.
    Restore Button that is shown instead of the Minimize button or the Maximize button of C1Dialog dialog window when the window is minimized or maximized. Clicking this button restores the window to the previous size.