public SetStyles ( InputControlStyle style ) : void | ||
style | InputControlStyle | New input control style. |
return | void |
public void SetStyles(InputControlStyle style)
{
switch (style)
{
case InputControlStyle.Standalone:
SetStyles(PaletteBackStyle.InputControlStandalone,
PaletteBorderStyle.InputControlStandalone,
PaletteContentStyle.InputControlStandalone);
break;
case InputControlStyle.Ribbon:
SetStyles(PaletteBackStyle.InputControlRibbon,
PaletteBorderStyle.InputControlRibbon,
PaletteContentStyle.InputControlRibbon);
break;
case InputControlStyle.Custom1:
SetStyles(PaletteBackStyle.InputControlCustom1,
PaletteBorderStyle.InputControlCustom1,
PaletteContentStyle.InputControlCustom1);
break;
}
}
PaletteInputControlTripleRedirect::SetStyles ( PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle ) : void |
/// <summary> /// Update the combo box input control style. /// </summary> /// <param name="style">New input control style.</param> public void SetStyles(InputControlStyle style) { _comboBoxRedirect.SetStyles(style); }