public SetStyles ( ButtonStyle buttonStyle ) : void | ||
buttonStyle | ButtonStyle | New button style. |
return | void |
private void SetCheckButtonStyle(ButtonStyle style) { _stateCommon.SetStyles(style); _stateFocus.SetStyles(style); }
/// <summary> /// Update the state objects to reflect the new button style. /// </summary> /// <param name="buttonStyle">New button style.</param> protected virtual void SetStyles(ButtonStyle buttonStyle) { _stateCommon.SetStyles(buttonStyle); _stateDefault.SetStyles(buttonStyle); _stateFocus.SetStyles(buttonStyle); }
/// <summary> /// Update the combo box item style. /// </summary> /// <param name="style">New item style.</param> public void SetStyles(ButtonStyle style) { _itemRedirect.SetStyles(style); }
/// <summary> /// Update the button style to reflect new button style setting. /// </summary> public void UpdateButtonStyle() { _palette.SetStyles(_buttonSpec.GetStyle(_redirector)); }