20 references to ToolBarButtonStyle
System.Windows.Forms (20)
winforms\Managed\System\WinForms\ToolBarButton.cs (20)
49
ToolBarButtonStyle
style =
ToolBarButtonStyle
.PushButton;
348
DefaultValue(
ToolBarButtonStyle
.PushButton),
352
public
ToolBarButtonStyle
Style {
358
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
ToolBarButtonStyle
.PushButton, (int)
ToolBarButtonStyle
.DropDownButton)){
359
throw new InvalidEnumArgumentException("value", (int)value, typeof(
ToolBarButtonStyle
));
470
ToolBarButtonStyle
style = Style;
473
if (style !=
ToolBarButtonStyle
.Separator) {
499
if (style ==
ToolBarButtonStyle
.DropDownButton && this.parent.DropDownArrows) {
593
if (partialPush && style ==
ToolBarButtonStyle
.ToggleButton) button.fsState |= NativeMethods.TBSTATE_INDETERMINATE;
600
case
ToolBarButtonStyle
.PushButton:
603
case
ToolBarButtonStyle
.ToggleButton:
606
case
ToolBarButtonStyle
.Separator:
609
case
ToolBarButtonStyle
.DropDownButton:
653
if (partialPush && style ==
ToolBarButtonStyle
.ToggleButton) button.fsState |= NativeMethods.TBSTATE_INDETERMINATE;
660
case
ToolBarButtonStyle
.PushButton:
663
case
ToolBarButtonStyle
.ToggleButton:
666
case
ToolBarButtonStyle
.Separator:
749
if (style ==
ToolBarButtonStyle
.DropDownButton && parent != null && parent.DropDownArrows) {