DevExpress でのプログレスバー(ASPxProgressBar)のタイトル背景色設定のサンプルです。
現状の画面デザインはこのようになっています。
<プログレスバーのタイトル背景色設定>
「ASPxProgressBar」の「CaptionStyle」プロパティから「BackColor=”#FFCCFF”」を設定します。
↓
【サンプルプログラム】
|
1 2 3 4 5 6 7 8 9 |
<form id="form1" runat="server"> <div> <dx:ASPxProgressBar ID="ASPxProgressBar1" runat="server" Position="120" Width="400px" Theme="Mulberry" Caption="参考書理解" CustomDisplayFormat="【{1}-{2}】の内{0}ページ完了" DisplayMode="Custom" Height="75px" Maximum="200" Minimum="7"> <CaptionSettings HorizontalAlign="Center" Position="Bottom" ShowColon="False" /> <CaptionStyle BackColor="#FFCCFF" Font-Italic="True" Font-Size="X-Large" ForeColor="Blue"> </CaptionStyle> </dx:ASPxProgressBar> </div> </form> |
それでは、実行して動作確認を行います。
↓
無事にプログレスバー(ASPxProgressBar)のタイトル背景色設定が出来ました。
- 投稿タグ
- ASPxProgressBar






