2 overrides of VisualStylesMode
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
853public override VisualStylesMode VisualStylesMode
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.cs (1)
23public override VisualStylesMode VisualStylesMode
1 write to VisualStylesMode
System.Windows.Forms (1)
System\Windows\Forms\Control.cs (1)
928=> VisualStylesMode = VisualStylesMode.Inherit;
17 references to VisualStylesMode
System.Windows.Forms (17)
System\Windows\Forms\Control.cs (9)
934VisualStylesMode value = VisualStylesMode; 950/// <see cref="VisualStylesMode"/>. 954/// In-box controls <b>MUST</b> read this property, not the raw <see cref="VisualStylesMode"/>, whenever they 955/// decide their <see cref="CreateParams"/> or paint behavior. The raw <see cref="VisualStylesMode"/> stays 992/// Describes the work a control requires when its effective <see cref="VisualStylesMode"/> changes. 3922/// Occurs when the value of the <see cref="VisualStylesMode"/> property changes. 7147/// Determines the work this control requires when its effective <see cref="VisualStylesMode"/> changes. 7420/// Occurs when the <see cref="VisualStylesMode"/> property of the parent of this control changes. 8734/// <see cref="VisualStylesMode"/> through <see cref="OnVisualStylesModeChanged(EventArgs)"/>.
System\Windows\Forms\Controls\Buttons\Appearance.cs (1)
26/// This value has no effect when <see cref="Control.VisualStylesMode"/> is set to
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ModernButtonDarkModeRenderer.cs (1)
11/// Modern, WinUI-inspired push button renderer used when <see cref="Control.VisualStylesMode"/> is
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
867argumentName: nameof(VisualStylesMode), 868invalidValue: (int)VisualStylesMode,
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (1)
13/// in <see cref="Appearance.ToggleSwitch"/> mode. Used when <see cref="Control.VisualStylesMode"/>
System\Windows\Forms\VisualStylesMode.cs (3)
24/// The control inherits its <see cref="Control.VisualStylesMode"/> from its parent, or, for a 26/// returned by <see cref="Control.VisualStylesMode"/> when no local mode is set. 30/// This value is the ambient sentinel: assigning it to <see cref="Control.VisualStylesMode"/>