RadioButtonList.CellPadding プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > RadioButtonList.CellPadding プロパティの意味・解説 

RadioButtonList.CellPadding プロパティ

テーブル セル境界内容との間隔 (ピクセル単位) を取得または設定します

名前空間: System.Web.UI.WebControls
アセンブリ: System.Web (system.web.dll 内)
構文構文

解説解説

このプロパティは、RepeatLayout プロパティRepeatLayout.Table設定されている場合にだけ適用されます。

このプロパティ使用してセル内容セル境界との間の余白制御します

指定した余白の量は、セルの 4 側面のすべてに追加されます。これにはテーブルの最も高いセルの高さと最も幅の広いセルの幅を使用します生成されるセルサイズは、テーブルすべてのセル均一に適用されます。それぞれのセルサイズ指定することはできません。

使用例使用例

CellPadding プロパティ使用して RadioButtonList コントロールセル10 ピクセル余白追加する方法次のコード例示します

<%@ Page Language="VB" AutoEventWireup="True"
 %>

<asp:RadioButtonList id=RadioButtonList1
      CellPadding = "10" 
      runat="server">
 
    <asp:ListItem>Item 1</asp:ListItem>
    <asp:ListItem>Item 2</asp:ListItem>
    <asp:ListItem>Item 3</asp:ListItem>
    <asp:ListItem>Item 4</asp:ListItem>
    <asp:ListItem>Item 5</asp:ListItem>
    <asp:ListItem>Item 6</asp:ListItem>
 
 </asp:RadioButtonList>
   
<%@ Page Language="C#" AutoEventWireup="True" %>

<asp:RadioButtonList id=RadioButtonList1
      CellPadding = "10" 
      runat="server">
 
    <asp:ListItem>Item 1</asp:ListItem>
    <asp:ListItem>Item 2</asp:ListItem>
    <asp:ListItem>Item 3</asp:ListItem>
    <asp:ListItem>Item 4</asp:ListItem>
    <asp:ListItem>Item 5</asp:ListItem>
    <asp:ListItem>Item 6</asp:ListItem>
 
 </asp:RadioButtonList>
   
<%@ Page Language="JScript" AutoEventWireup="True" %>

<asp:RadioButtonList id=RadioButtonList1
      CellPadding = "10" 
      runat="server">
 
    <asp:ListItem>Item 1</asp:ListItem>
    <asp:ListItem>Item 2</asp:ListItem>
    <asp:ListItem>Item 3</asp:ListItem>
    <asp:ListItem>Item 4</asp:ListItem>
    <asp:ListItem>Item 5</asp:ListItem>
    <asp:ListItem>Item 6</asp:ListItem>
 
 </asp:RadioButtonList>
   
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「RadioButtonList.CellPadding プロパティ」の関連用語

RadioButtonList.CellPadding プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



RadioButtonList.CellPadding プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS