70 references to PartChromeType
System.Web (70)
UI\WebParts\AppearanceEditorPart.cs (9)
82TypeConverter chromeTypeConverter = TypeDescriptor.GetConverter(typeof(PartChromeType)); 83webPart.ChromeType = (PartChromeType)chromeTypeConverter.ConvertFromString(_chromeType.SelectedValue); 182TypeConverter chromeTypeConverter = TypeDescriptor.GetConverter(typeof(PartChromeType)); 185chromeTypeConverter.ConvertToString(PartChromeType.Default))); 187chromeTypeConverter.ConvertToString(PartChromeType.TitleAndBorder))); 189chromeTypeConverter.ConvertToString(PartChromeType.TitleOnly))); 191chromeTypeConverter.ConvertToString(PartChromeType.BorderOnly))); 193chromeTypeConverter.ConvertToString(PartChromeType.None))); 280TypeConverter chromeTypeConverter = TypeDescriptor.GetConverter(typeof(PartChromeType));
UI\WebParts\CatalogPartChrome.cs (8)
41protected virtual Style CreateCatalogPartChromeStyle(CatalogPart catalogPart, PartChromeType chromeType) { 45if ((chromeType < PartChromeType.Default) || (chromeType > PartChromeType.BorderOnly)) { 49if (chromeType == PartChromeType.BorderOnly || chromeType == PartChromeType.TitleAndBorder) { 97PartChromeType chromeType = Zone.GetEffectiveChromeType(catalogPart); 113if (chromeType == PartChromeType.TitleOnly || chromeType == PartChromeType.TitleAndBorder) {
UI\WebParts\ConnectionsZone.cs (6)
529public override PartChromeType PartChromeType { 1431if (this.PartChromeType == PartChromeType.Default || 1432this.PartChromeType == PartChromeType.BorderOnly || 1433this.PartChromeType == PartChromeType.TitleAndBorder) { 1918if (this.PartChromeType == PartChromeType.None || 1919this.PartChromeType == PartChromeType.BorderOnly)
UI\WebParts\EditorPartChrome.cs (8)
39protected virtual Style CreateEditorPartChromeStyle(EditorPart editorPart, PartChromeType chromeType) { 43if ((chromeType < PartChromeType.Default) || (chromeType > PartChromeType.BorderOnly)) { 48if (chromeType == PartChromeType.BorderOnly || chromeType == PartChromeType.TitleAndBorder) { 86PartChromeType chromeType = Zone.GetEffectiveChromeType(editorPart); 97if (chromeType == PartChromeType.TitleAndBorder || chromeType == PartChromeType.TitleOnly) {
UI\WebParts\Part.cs (6)
55DefaultValue(PartChromeType.Default), 59public virtual PartChromeType ChromeType { 62return (o != null) ? (PartChromeType)(int)o : PartChromeType.Default; 65if ((value < PartChromeType.Default) || (value > PartChromeType.BorderOnly)) {
UI\WebParts\WebPart.cs (1)
264public override PartChromeType ChromeType {
UI\WebParts\WebPartChrome.cs (8)
149protected virtual Style CreateWebPartChromeStyle(WebPart webPart, PartChromeType chromeType) { 153if ((chromeType < PartChromeType.Default) || (chromeType > PartChromeType.BorderOnly)) { 160if (chromeType == PartChromeType.BorderOnly || chromeType == PartChromeType.TitleAndBorder) { 629PartChromeType chromeType = Zone.GetEffectiveChromeType(webPart); 662if (chromeType == PartChromeType.TitleOnly || chromeType == PartChromeType.TitleAndBorder) {
UI\WebParts\WebPartManager.cs (2)
2455return typeof(PartChromeType); 2502else if (type == typeof(PartChromeType)) {
UI\WebParts\WebPartZoneBase.cs (9)
891public override PartChromeType GetEffectiveChromeType(Part part) { 892PartChromeType chromeType = base.GetEffectiveChromeType(part); 897if (chromeType == PartChromeType.None) { 898chromeType = PartChromeType.TitleOnly; 900else if (chromeType == PartChromeType.BorderOnly) { 901chromeType = PartChromeType.TitleAndBorder; 1234PartChromeType chromeType = GetEffectiveChromeType(webPart); 1235if (chromeType == PartChromeType.None || chromeType == PartChromeType.BorderOnly) {
UI\WebParts\WebZone.cs (13)
263DefaultValue(PartChromeType.Default), 267public virtual PartChromeType PartChromeType { 270return (o != null) ? (PartChromeType)(int)o : PartChromeType.Default; 273if ((value < PartChromeType.Default) || (value > PartChromeType.BorderOnly)) { 473public virtual PartChromeType GetEffectiveChromeType(Part part) { 478PartChromeType chromeType = part.ChromeType; 479if (chromeType == PartChromeType.Default) { 480PartChromeType partChromeType = PartChromeType; 481if (partChromeType == PartChromeType.Default) { 482chromeType = PartChromeType.TitleAndBorder; 489Debug.Assert(chromeType != PartChromeType.Default);