DevExpress の ASPxMemo でのデザイン(テーマ一覧)のサンプルです。
各オブジェクトのテーマ設定は見てみないと違いが分かりません。
今回は文字列複数行のテーマ一覧を作成しました。
実際作成して見比べると、各テーマの変化はかなり少ないです。
変化があるとしたら、ヘルプテキストのポップアップ部分だけです。
<デザイン(テーマ一覧)>
「Theme=”RedWine”」の部分でテーマ設定を行います。
テーマの設定手順は、
過去ブログの「DevExpress のテーマ設定(デザイン)」を参照して下さい。
【サンプルプログラム】
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <dx:ASPxMemo ID="ASPxMemo1" runat="server" Height="100px" Width="250px" Caption="テキスト複数行" NullText="文字を複数行入力して下さい。" Theme="RedWine" HelpText="文字を複数行入力可能"> <HelpTextSettings DisplayMode="Popup" HorizontalAlign="Right"> </HelpTextSettings> <CaptionSettings VerticalAlign="Middle" /> <CaptionStyle Font-Bold="True" Font-Size="Medium" ForeColor="Blue"> </CaptionStyle> </dx:ASPxMemo> </div> </form> </body> </html> |
【Default】
【Aqua】
【BlackGlass】
【DevEx】
【Glass】
【iOS】
【Metropolis】
【MetropolisBlue】
【Moderno】
【Mulberry】
【Office2003Blue】
【Office2003Olive】
【Office2003Silver】
【Office2010Black】
【Office2010Blue】
【Office2010Silver】
【PlasticBlue】
【RedWine】
【SoftOrange】
【Youthful】
- 投稿タグ
- ASPxMemo