public virtual Color DisabledBackColor {get; set;}
Public Overridable Property DisabledBackColor As Color
プロパティ値
コントロールが無効の場合の背景色を指定する
Color値。 既定値はColor [Control]です。
外観を設定した
GcMask コントロールを作成するコード例を次に示します。この例では他に DisabledBackColor、
DisabledForeColor と
FlatStyle プロパティを使用しています。
// Please use the following namespace
// using System.Windows.Forms;
// using GrapeCity.Win.Editors;
public void SetDisabledColorSettings()
{
// Create an instance of a GcMask control.
GcMask gcMask1 = new GcMask();
// Sets the DisabledBackColor property.
gcMask1.DisabledBackColor = Color.Gray;
// Sets the DisabledForeColor property.
gcMask1.DisabledForeColor = SystemColors.ControlDarkDark;
// Sets the FlatStyle property.
gcMask1.FlatStyle = FlatStyleEx.Office2007Blue;
}
' Please use the following namespace
' Imports System.Windows.Forms;
' Imports GrapeCity.Win.Editors;
Public Sub SetDisabledColorSettings()
' Create an instance of a GcMask control.
Dim gcMask1 As New GcMask()
' Sets the DisabledBackColor property.
gcMask1.DisabledBackColor = Color.Gray
' Sets the DisabledForeColor property.
gcMask1.DisabledForeColor = SystemColors.ControlDarkDark
' Sets the FlatStyle property.
gcMask1.FlatStyle = FlatStyleEx.Office2007Blue
End Sub