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)
925=> VisualStylesMode = VisualStylesMode.Inherit;
19 references to VisualStylesMode
System.Windows.Forms (19)
System\Windows\Forms\Control.cs (11)
931VisualStylesMode value = VisualStylesMode; 941VisualStylesMode == VisualStylesMode.Inherit 943: VisualStylesMode); 959/// <see cref="VisualStylesMode"/>. 963/// In-box controls <b>MUST</b> read this property, not the raw <see cref="VisualStylesMode"/>, whenever they 964/// decide their <see cref="CreateParams"/> or paint behavior. The raw <see cref="VisualStylesMode"/> stays 1001/// Describes the work a control requires when its effective <see cref="VisualStylesMode"/> changes. 3931/// Occurs when the value of the <see cref="VisualStylesMode"/> property changes. 7156/// Determines the work this control requires when its effective <see cref="VisualStylesMode"/> changes. 7429/// Occurs when the <see cref="VisualStylesMode"/> property of the parent of this control changes. 8792/// <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)
870argumentName: nameof(VisualStylesMode), 871invalidValue: (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"/>