DataGridViewAdvancedCellBorderStyle 列挙体とは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DataGridViewAdvancedCellBorderStyle 列挙体の意味・解説 

DataGridViewAdvancedCellBorderStyle 列挙体

メモ : この列挙体は、.NET Framework version 2.0新しく追加されたものです。

DataGridView コントロールセル適用できる境界線スタイル指定します

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Enumeration DataGridViewAdvancedCellBorderStyle
Dim instance As DataGridViewAdvancedCellBorderStyle
public enum DataGridViewAdvancedCellBorderStyle
public enum class DataGridViewAdvancedCellBorderStyle
public enum DataGridViewAdvancedCellBorderStyle
public enum DataGridViewAdvancedCellBorderStyle
メンバメンバ
 メンバ説明
Inset一重線のくぼんだ境界線。 
InsetDouble二重線のくぼんだ境界線。 
None境界線なし。 
NotSet境界線設定されていません。 
Outset一重線の浮き出し境界線。 
OutsetDouble二重線の浮き出し境界線。 
OutsetPartial浮き出し部分を含む一重線の境界線。 
Single一重線の境界線。 
解説解説

DataGridView コントロールの AdvancedCellBorderStyle プロパティは、DataGridViewAdvancedBorderStyle 型のオブジェクト返します。このオブジェクトには、DataGridViewAdvancedCellBorderStyle 型のプロパティあります

使用例使用例

DataGridView.AdjustedTopLeftHeaderBorderStyle プロパティオーバーライドして、左上セル境界線カスタマイズするコード例次に示します。このコード例は、DataGridViewAdvancedBorderStyle クラストピック取り上げているコード例一部分です。

Public Overrides ReadOnly
 Property AdjustedTopLeftHeaderBorderStyle() _
    As DataGridViewAdvancedBorderStyle
    Get
        Dim newStyle As New
 DataGridViewAdvancedBorderStyle()
        With newStyle
            .Top = DataGridViewAdvancedCellBorderStyle.None
            .Left = DataGridViewAdvancedCellBorderStyle.None
            .Bottom = DataGridViewAdvancedCellBorderStyle.Outset
            .Right = DataGridViewAdvancedCellBorderStyle.OutsetDouble
        End With
        Return newStyle
    End Get
End Property
public override DataGridViewAdvancedBorderStyle AdjustedTopLeftHeaderBorderStyle
{
    get
    {
        DataGridViewAdvancedBorderStyle newStyle =
            new DataGridViewAdvancedBorderStyle();
        newStyle.Top = DataGridViewAdvancedCellBorderStyle.None;
        newStyle.Left = DataGridViewAdvancedCellBorderStyle.None;
        newStyle.Bottom = DataGridViewAdvancedCellBorderStyle.Outset;
        newStyle.Right = DataGridViewAdvancedCellBorderStyle.OutsetDouble;
        return newStyle;
    }
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
System.Windows.Forms 名前空間
DataGridView クラス
DataGridView.AdvancedCellBorderStyle プロパティ
DataGridViewAdvancedBorderStyle クラス



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

辞書ショートカット

すべての辞書の索引

「DataGridViewAdvancedCellBorderStyle 列挙体」の関連用語

DataGridViewAdvancedCellBorderStyle 列挙体のお隣キーワード
検索ランキング

   

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



DataGridViewAdvancedCellBorderStyle 列挙体のページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS