60 references to RenderWithVisualStyles
System.Windows.Forms (60)
misc\DpiHelper.cs (1)
182(Application.RenderWithVisualStyles))
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (3)
86return SystemInformation.HighContrast && Application.RenderWithVisualStyles && 661if (Application.RenderWithVisualStyles) { 1408else if (!Application.RenderWithVisualStyles) {
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (5)
138if (Application.RenderWithVisualStyles) { 150if (Application.RenderWithVisualStyles) { 182if (Application.RenderWithVisualStyles) { 202if (!Application.RenderWithVisualStyles) { 234layout.everettButtonCompat = !Application.RenderWithVisualStyles;
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (2)
221if (Application.RenderWithVisualStyles) { 229if (Application.RenderWithVisualStyles) {
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxStandardAdapter.cs (3)
41if (!Application.RenderWithVisualStyles) { 109layout.everettButtonCompat = !Application.RenderWithVisualStyles; 112if (Application.RenderWithVisualStyles) {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (2)
181if (!Application.RenderWithVisualStyles) { 187if (Application.RenderWithVisualStyles) {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonStandardAdapter.cs (2)
69layout.everettButtonCompat = !Application.RenderWithVisualStyles; 72if (Application.RenderWithVisualStyles) {
winforms\Managed\System\WinForms\ButtonRenderer.cs (1)
53return (!renderMatchingApplicationState || Application.RenderWithVisualStyles);
winforms\Managed\System\WinForms\CheckBoxRenderer.cs (1)
54return (!renderMatchingApplicationState || Application.RenderWithVisualStyles);
winforms\Managed\System\WinForms\CheckedListBox.cs (3)
680if (Application.RenderWithVisualStyles) { 710if (Application.RenderWithVisualStyles) { 862else if (!Application.RenderWithVisualStyles) {
winforms\Managed\System\WinForms\ComboBox.cs (2)
870if ((!ContainsFocus || !Application.RenderWithVisualStyles) && this.FlatStyle == FlatStyle.Popup) { 3688if (!Application.RenderWithVisualStyles && GetStyle(ControlStyles.UserPaint) == false && this.DropDownStyle == ComboBoxStyle.DropDownList && (FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup)) {
winforms\Managed\System\WinForms\Control.cs (1)
9776if (Application.RenderWithVisualStyles && parent.RenderTransparencyWithVisualStyles) {
winforms\Managed\System\WinForms\DataGridView.cs (3)
1014return Application.RenderWithVisualStyles; 1022return Application.RenderWithVisualStyles && this.EnableHeadersVisualStyles; 1457return Application.RenderWithVisualStyles ? 1 : SystemInformation.Border3DSize.Width;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
19866if (Application.RenderWithVisualStyles)
winforms\Managed\System\WinForms\DrawListViewColumnHeaderEventArgs.cs (1)
153if (Application.RenderWithVisualStyles) {
winforms\Managed\System\WinForms\Form.cs (1)
5062if (Application.RenderWithVisualStyles) {
winforms\Managed\System\WinForms\GroupBox.cs (1)
520if (Application.RenderWithVisualStyles && Width >= 10 && Height >= 10) {
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (1)
55return (!renderMatchingApplicationState || Application.RenderWithVisualStyles);
winforms\Managed\System\WinForms\ListBox.cs (1)
2276if ((NativeMethods.PRF_NONCLIENT & (int)m.LParam) != 0 && Application.RenderWithVisualStyles && this.BorderStyle == BorderStyle.Fixed3D) {
winforms\Managed\System\WinForms\ListView.cs (1)
6227if ((NativeMethods.PRF_NONCLIENT & (int)m.LParam) != 0 && Application.RenderWithVisualStyles && this.BorderStyle == BorderStyle.Fixed3D) {
winforms\Managed\System\WinForms\MaskedTextBox.cs (2)
2005if (Application.RenderWithVisualStyles && this.IsHandleCreated && this.BorderStyle == BorderStyle.Fixed3D) 3177if ((NativeMethods.PRF_NONCLIENT & unchecked( (int) (long)m.LParam)) != 0 && Application.RenderWithVisualStyles && this.BorderStyle == BorderStyle.Fixed3D) {
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (2)
87if (Application.RenderWithVisualStyles & useComboBoxTheme) { 198if (!Application.RenderWithVisualStyles) {
winforms\Managed\System\WinForms\RadioButtonRenderer.cs (1)
53return (!renderMatchingApplicationState || Application.RenderWithVisualStyles);
winforms\Managed\System\WinForms\StatusBar.cs (1)
95if (Application.RenderWithVisualStyles && VisualStyleRenderer != null){
winforms\Managed\System\WinForms\TabPage.cs (2)
126if (Application.RenderWithVisualStyles && UseVisualStyleBackColor && (parent != null && parent.Appearance == TabAppearance.Normal)) { 701if (Application.RenderWithVisualStyles && UseVisualStyleBackColor && (parent != null && parent.Appearance == TabAppearance.Normal)) {
winforms\Managed\System\WinForms\TextBox.cs (2)
607if (Application.RenderWithVisualStyles && this.IsHandleCreated && this.BorderStyle == BorderStyle.Fixed3D) { 845if ((NativeMethods.PRF_NONCLIENT & (int)m.LParam) != 0 && Application.RenderWithVisualStyles && this.BorderStyle == BorderStyle.Fixed3D) {
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
565return visualStylesEnabledIfPossible && Application.RenderWithVisualStyles;
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (3)
51if (Application.RenderWithVisualStyles) { 679if (!Application.RenderWithVisualStyles) { 685if (Application.RenderWithVisualStyles) {
winforms\Managed\System\WinForms\TreeView.cs (1)
3133if ((NativeMethods.PRF_NONCLIENT & (int)m.LParam) != 0 && Application.RenderWithVisualStyles && this.BorderStyle == BorderStyle.Fixed3D) {
winforms\Managed\System\WinForms\UpDownBase.cs (4)
359if (!Application.RenderWithVisualStyles) { 803if (Application.RenderWithVisualStyles) { 1095bool themed = Application.RenderWithVisualStyles; 1696if (Application.RenderWithVisualStyles) {
winforms\Managed\System\WinForms\VisualStyles\VisualStyleInformation.cs (4)
231if (Application.RenderWithVisualStyles) { 252if (Application.RenderWithVisualStyles) { 276if (Application.RenderWithVisualStyles) { 298if (Application.RenderWithVisualStyles) {
winforms\Managed\System\WinForms\WebBrowser.cs (1)
1753if (Application.RenderWithVisualStyles) {