2 writes to Part
System.Windows.Forms (2)
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (2)
142Part = part; 204Part = part;
31 references to Part
System.Windows.Forms (27)
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (27)
229_lastHResult = PInvoke.DrawThemeBackground(htheme, dc, Part, State, bounds, null); 233_lastHResult = PInvoke.DrawThemeBackground(HTHEME, dc, Part, State, bounds, null); 256_lastHResult = PInvoke.DrawThemeBackground(htheme, dc, Part, State, bounds, clipRectangle); 260_lastHResult = PInvoke.DrawThemeBackground(HTHEME, dc, Part, State, bounds, clipRectangle); 285Part, 392Part, 420_lastHResult = PInvoke.GetThemeBackgroundContentRect(HTHEME, dc, Part, State, bounds, out RECT rect); 437_lastHResult = PInvoke.GetThemeBackgroundExtent(HTHEME, hdc, Part, State, contentBounds, out RECT extents); 457_lastHResult = PInvoke.GetThemeBackgroundRegion(HTHEME, hdc, Part, State, bounds, &hrgn); 481_lastHResult = PInvoke.GetThemeBool(HTHEME, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, out BOOL value); 493_lastHResult = PInvoke.GetThemeColor(HTHEME, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, out COLORREF color); 505_lastHResult = PInvoke.GetThemeEnumValue(HTHEME, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, out int value); 520_lastHResult = PInvoke.GetThemeFilename(HTHEME, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, pFilename, filename.Length); 537_lastHResult = PInvoke.GetThemeFont(this, hdc, Part, State, (int)prop, out LOGFONT logfont); 564_lastHResult = PInvoke.GetThemeInt(HTHEME, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, out int value); 587_lastHResult = PInvoke.GetThemePartSize(htheme, dc, Part, State, null, (THEMESIZE)type, out SIZE dpiSize); 591_lastHResult = PInvoke.GetThemePartSize(HTHEME, dc, Part, State, null, (THEMESIZE)type, out SIZE size); 606_lastHResult = PInvoke.GetThemePartSize(HTHEME, hdc, Part, State, bounds, (THEMESIZE)type, out SIZE size); 618_lastHResult = PInvoke.GetThemePosition(HTHEME, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, out Point point); 633_lastHResult = PInvoke.GetThemeMargins(HTHEME, hdc, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, null, out MARGINS margins); 649_lastHResult = PInvoke.GetThemeString(HTHEME, Part, State, (int)prop, pString, aString.Length); 667Part, 690Part, 709_lastHResult = PInvoke.GetThemeTextMetrics(HTHEME, hdc, Part, State, out TEXTMETRICW tm); 724Part, 758Part, 774return PInvoke.IsThemeBackgroundPartiallyTransparent(HTHEME, Part, State);
System.Windows.Forms.Tests (4)
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (4)
30Assert.Equal(element.Part, renderer.Part); 64Assert.Equal(element.Part, renderer.Part); 518Assert.Equal(element.Part, renderer.Part); 539Assert.Equal(element.Part, renderer.Part);