windowsforms-devexpress-dot-xtrawaitform-dot-progresspanel.md
Gets or sets the control’s caption.
Namespace : DevExpress.XtraWaitForm
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(null)]
[DXCategory("Display Options")]
public string Caption { get; set; }
<DefaultValue(Nothing)>
<DXCategory("Display Options")>
Public Property Caption As String
| Type | Default | Description |
|---|---|---|
| String | null |
A string that specifies the control’s caption.
|
The ProgressPanel contains a caption and ProgressPanel.Description displayed one under another. To control their visibility, use the ProgressPanel.ShowCaption and ProgressPanel.ShowDescription properties.
The appearance settings used to paint the caption and description are specified by the ProgressPanel.AppearanceCaption and ProgressPanel.AppearanceDescription properties, respectively.
The following properties affect the layout of the control’s caption, description and image:
The following code snippets (auto-collected from DevExpress Examples) contain references to the Caption property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-wait-form-cancel-operation/CS/WaitFormCanceling/WaitForm1.cs#L38
base.SetCaption(caption);
this.progressPanel1.Caption = caption;
}
base.SetCaption(caption);
this.progressPanel1.Caption = caption;
}
winforms-spreadsheet-create-custom-progress-indicator/CS/SpreadsheetProgressSample/WaitForm1.cs#L16
base.SetCaption(caption);
progressPanel1.Caption = caption;
}
winforms-scheduler-synchronize-appointments-with-outlook-365/CS/DXOutlook365Sync/WaitForm1.cs#L21
base.SetCaption(caption);
this.progressPanel1.Caption = caption;
}
winforms-splash-screen-loading-panel/CS/WaitForm1.cs#L21
base.SetCaption(caption);
this.progressPanel1.Caption = caption;
}
winforms-wait-form-cancel-operation/VB/WaitFormCanceling/WaitForm1.vb#L32
MyBase.SetCaption(caption)
progressPanel1.Caption = caption
End Sub
MyBase.SetCaption(caption)
Me.progressPanel1.Caption = caption
End Sub
winforms-spreadsheet-create-custom-progress-indicator/VB/SpreadsheetProgressSample/WaitForm1.vb#L18
MyBase.SetCaption(caption)
progressPanel1.Caption = caption
End Sub
winforms-scheduler-synchronize-appointments-with-outlook-365/VB/DXOutlook365Sync/WaitForm1.vb#L19
MyBase.SetCaption(caption)
progressPanel1.Caption = caption
End Sub
winforms-splash-screen-loading-panel/VB/WaitForm1.vb#L23
MyBase.SetCaption(caption)
Me.progressPanel1.Caption = caption
End Sub
See Also
Caption