Back to Devexpress

ProgressPanel.Caption Property

windowsforms-devexpress-dot-xtrawaitform-dot-progresspanel.md

latest7.4 KB
Original Source

ProgressPanel.Caption Property

Gets or sets the control’s caption.

Namespace : DevExpress.XtraWaitForm

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Display Options")]
public string Caption { get; set; }
vb
<DefaultValue(Nothing)>
<DXCategory("Display Options")>
Public Property Caption As String

Property Value

TypeDefaultDescription
Stringnull

A string that specifies the control’s caption.

|

Remarks

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

csharp
base.SetCaption(caption);
    this.progressPanel1.Caption = caption;
}

report-server-how-to-manage-scheduled-jobs-from-a-windows-forms-application/CS/ScheduledTasksAPIClientDemo/WaitForm1.cs#L43

csharp
base.SetCaption(caption);
    this.progressPanel1.Caption = caption;
}

winforms-spreadsheet-create-custom-progress-indicator/CS/SpreadsheetProgressSample/WaitForm1.cs#L16

csharp
base.SetCaption(caption);
    progressPanel1.Caption = caption;
}

winforms-scheduler-synchronize-appointments-with-outlook-365/CS/DXOutlook365Sync/WaitForm1.cs#L21

csharp
base.SetCaption(caption);
    this.progressPanel1.Caption = caption;
}

winforms-splash-screen-loading-panel/CS/WaitForm1.cs#L21

csharp
base.SetCaption(caption);
    this.progressPanel1.Caption = caption;
}

winforms-wait-form-cancel-operation/VB/WaitFormCanceling/WaitForm1.vb#L32

vb
MyBase.SetCaption(caption)
    progressPanel1.Caption = caption
End Sub

report-server-how-to-manage-scheduled-jobs-from-a-windows-forms-application/VB/ScheduledTasksAPIClientDemo/WaitForm1.vb#L41

vb
MyBase.SetCaption(caption)
    Me.progressPanel1.Caption = caption
End Sub

winforms-spreadsheet-create-custom-progress-indicator/VB/SpreadsheetProgressSample/WaitForm1.vb#L18

vb
MyBase.SetCaption(caption)
    progressPanel1.Caption = caption
End Sub

winforms-scheduler-synchronize-appointments-with-outlook-365/VB/DXOutlook365Sync/WaitForm1.vb#L19

vb
MyBase.SetCaption(caption)
    progressPanel1.Caption = caption
End Sub

winforms-splash-screen-loading-panel/VB/WaitForm1.vb#L23

vb
MyBase.SetCaption(caption)
    Me.progressPanel1.Caption = caption
End Sub

See Also

Caption

Description

ShowCaption

ShowDescription

AppearanceCaption

AppearanceDescription

CaptionToDescriptionDistance

AnimationToTextDistance

ImageHorzOffset

ProgressPanel Class

ProgressPanel Members

DevExpress.XtraWaitForm Namespace