public Style DropDownButtonStyle {get; set;}
'Declaration
Public Property DropDownButtonStyle As Style
プロパティ値
ドロップダウンボタンのプロパティの設定に使用される
System.Windows.Style 値。
次のサンプルは
ComboBoxCellType のドロップダウン ボタンをカスタマイズする方法を説明します。このサンプルでは、コンボボックス型セルのドロップダウンボタンの幅が 40 に変更されます。
<sg:GcSpreadGrid>
<sg:GcSpreadGrid.Columns>
<sg:Column Width="100">
<sg:Column.CellType>
<sg:ComboBoxCellType>
<sg:ComboBoxCellType.DropDownButtonStyle>
<Style TargetType="sg:CellDropDownButton">
<Setter Property="Width" Value="40" />
</Style>
</sg:ComboBoxCellType.DropDownButtonStyle>
</sg:ComboBoxCellType>
</sg:Column.CellType>
</sg:Column>
</sg:GcSpreadGrid.Columns>
</sg:GcSpreadGrid>