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