2 writes to part
System.Windows.Forms (2)
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (2)
172
this.
part
= part;
265
this.
part
= part;
28 references to part
System.Windows.Forms (28)
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (28)
196
return
part
;
291
lastHResult = SafeNativeMethods.DrawThemeBackground(new HandleRef(this, hTheme.NativeHandle), hdc,
part
, state, new NativeMethods.COMRECT(bounds), null);
295
lastHResult = SafeNativeMethods.DrawThemeBackground(new HandleRef(this, Handle), hdc,
part
, state, new NativeMethods.COMRECT(bounds), null);
325
lastHResult = SafeNativeMethods.DrawThemeBackground(new HandleRef(this, hTheme.NativeHandle), hdc,
part
, state, new NativeMethods.COMRECT(bounds), new NativeMethods.COMRECT(clipRectangle));
329
lastHResult = SafeNativeMethods.DrawThemeBackground(new HandleRef(this, Handle), hdc,
part
, state, new NativeMethods.COMRECT(bounds), new NativeMethods.COMRECT(clipRectangle));
361
lastHResult = SafeNativeMethods.DrawThemeEdge( new HandleRef( this, Handle ), hdc,
part
, state, new NativeMethods.COMRECT( bounds ), (int) style, (int) edges | (int) effects | EdgeAdjust, rect );
497
lastHResult = SafeNativeMethods.DrawThemeText( new HandleRef( this, Handle ), hdc,
part
, state, textToDraw, textToDraw.Length, (int) flags, disableFlag, new NativeMethods.COMRECT( bounds ) );
520
lastHResult = SafeNativeMethods.GetThemeBackgroundContentRect( new HandleRef( this, Handle ), hdc,
part
, state, new NativeMethods.COMRECT( bounds ), rect );
544
lastHResult = SafeNativeMethods.GetThemeBackgroundExtent( new HandleRef( this, Handle ), hdc,
part
, state, new NativeMethods.COMRECT( contentBounds ), rect );
572
lastHResult = SafeNativeMethods.GetThemeBackgroundRegion( new HandleRef( this, Handle ), hdc,
part
, state, new NativeMethods.COMRECT( bounds ), ref hRegion );
602
lastHResult = SafeNativeMethods.GetThemeBool(new HandleRef(this, Handle),
part
, state, (int)prop, ref val);
620
lastHResult = SafeNativeMethods.GetThemeColor(new HandleRef(this, Handle),
part
, state, (int)prop, ref color);
638
lastHResult = SafeNativeMethods.GetThemeEnumValue(new HandleRef(this, Handle),
part
, state, (int)prop, ref val);
656
lastHResult = SafeNativeMethods.GetThemeFilename(new HandleRef(this, Handle),
part
, state, (int)prop, filename, filename.Capacity);
684
lastHResult = SafeNativeMethods.GetThemeFont( new HandleRef( this, Handle ), hdc,
part
, state, (int) prop, logfont );
727
lastHResult = SafeNativeMethods.GetThemeInt(new HandleRef(this, Handle),
part
, state, (int)prop, ref val);
757
lastHResult = SafeNativeMethods.GetThemePartSize(new HandleRef(this, hTheme.NativeHandle), hdc,
part
, state, null, type, size);
761
lastHResult = SafeNativeMethods.GetThemePartSize( new HandleRef(this, Handle), hdc,
part
, state, null, type, size);
789
lastHResult = SafeNativeMethods.GetThemePartSize( new HandleRef( this, Handle ), hdc,
part
, state, new NativeMethods.COMRECT( bounds ), type, size );
809
lastHResult = SafeNativeMethods.GetThemePosition(new HandleRef(this, Handle),
part
, state, (int)prop, point);
834
lastHResult = SafeNativeMethods.GetThemeMargins( new HandleRef( this, Handle ), hdc,
part
, state, (int) prop, ref margins );
855
lastHResult = SafeNativeMethods.GetThemeString(new HandleRef(this, Handle),
part
, state, (int)prop, aString, aString.Capacity);
878
lastHResult = SafeNativeMethods.GetThemeTextExtent( new HandleRef( this, Handle ), hdc,
part
, state, textToDraw, textToDraw.Length, (int) flags, null, rect );
903
lastHResult = SafeNativeMethods.GetThemeTextExtent( new HandleRef( this, Handle ), hdc,
part
, state, textToDraw, textToDraw.Length, (int) flags, new NativeMethods.COMRECT( bounds ), rect );
924
lastHResult = SafeNativeMethods.GetThemeTextMetrics( new HandleRef( this, Handle ), hdc,
part
, state, ref tm );
948
lastHResult = SafeNativeMethods.HitTestThemeBackground( new HandleRef( this, Handle ), hdc,
part
, state, (int) options, new NativeMethods.COMRECT( backgroundRectangle ), NativeMethods.NullHandleRef, point, ref htCode );
991
lastHResult = SafeNativeMethods.HitTestThemeBackground( new HandleRef( this, Handle ), hdc,
part
, state, (int) options, new NativeMethods.COMRECT( backgroundRectangle ), new HandleRef( this, hRgn ), point, ref htCode );
1004
return (SafeNativeMethods.IsThemeBackgroundPartiallyTransparent(new HandleRef(this, Handle),
part
, state));