56 references to PropertyTabScope
System (18)
compmod\system\componentmodel\design\PropertyTabAttribute.cs (18)
23
private
PropertyTabScope
[] tabScopes;
34
tabScopes = new
PropertyTabScope
[0];
44
public PropertyTabAttribute(Type tabClass) : this(tabClass,
PropertyTabScope
.Component) {
53
public PropertyTabAttribute(string tabClassName) : this(tabClassName,
PropertyTabScope
.Component) {
62
public PropertyTabAttribute(Type tabClass,
PropertyTabScope
tabScope) {
65
if (tabScope <
PropertyTabScope
.Document) {
68
this.tabScopes = new
PropertyTabScope
[]{tabScope};
79
public PropertyTabAttribute(string tabClassName,
PropertyTabScope
tabScope) {
81
if (tabScope <
PropertyTabScope
.Document) {
84
this.tabScopes = new
PropertyTabScope
[]{tabScope};
144
public
PropertyTabScope
[] TabScopes {
191
protected void InitializeArrays(string[] tabClassNames,
PropertyTabScope
[] tabScopes) {
200
protected void InitializeArrays(Type[] tabClasses,
PropertyTabScope
[] tabScopes) {
205
private void InitializeArrays(string[] tabClassNames, Type[] tabClasses,
PropertyTabScope
[] tabScopes) {
226
if (tabScopes[i] <
PropertyTabScope
.Document) {
230
this.tabScopes = (
PropertyTabScope
[])tabScopes.Clone();
233
this.tabScopes = new
PropertyTabScope
[tabClasses.Length];
236
this.tabScopes[i] =
PropertyTabScope
.Component;
System.Windows.Forms (38)
winforms\Managed\System\WinForms\PropertyGrid.cs (38)
57
private
PropertyTabScope
[] viewTabScopes = new
PropertyTabScope
[0];
247
AddRefTab(DefaultTabType, null,
PropertyTabScope
.Static, true);
319
RemoveTabs(
PropertyTabScope
.Document, true);
347
RefreshTabs(
PropertyTabScope
.Document);
1273
RefreshTabs(
PropertyTabScope
.Component);
1834
internal void AddTab(Type tabType,
PropertyTabScope
scope) {
1839
internal void AddRefTab(Type tabType, Object component,
PropertyTabScope
type, bool setupToolbar) {
1913
PropertyTabScope
[] newTabScopes = new
PropertyTabScope
[viewTabScopes.Length + 1];
1969
internal void ClearTabs(
PropertyTabScope
tabScope) {
1970
if (tabScope <
PropertyTabScope
.Document) {
2524
private static Type[] GetCommonTabs(Object[] objs,
PropertyTabScope
tabScope) {
2541
PropertyTabScope
item = tabAttr.TabScopes[i];
2820
if (attribute.TabScopes[i] ==
PropertyTabScope
.Document) {
2821
AddRefTab(attribute.TabClasses[i], e.Component,
PropertyTabScope
.Document, true);
2856
if (attribute.TabScopes[i] ==
PropertyTabScope
.Document) {
3930
public void RefreshTabs(
PropertyTabScope
tabScope) {
3932
if (tabScope <
PropertyTabScope
.Document) {
3939
if (tabScope <=
PropertyTabScope
.Component) {
3942
Type[] tabTypes = GetCommonTabs(currentObjects,
PropertyTabScope
.Component);
3946
AddRefTab(tabTypes[i], currentObjects[j],
PropertyTabScope
.Component, false);
3953
if (tabScope <=
PropertyTabScope
.Document && designerHost != null) {
3963
if (attribute.TabScopes[j] ==
PropertyTabScope
.Document) {
3964
AddRefTab(attribute.TabClasses[j], comp,
PropertyTabScope
.Document, false);
4016
if (killTab && viewTabScopes[tabIndex] >
PropertyTabScope
.Global) {
4030
internal void RemoveTabs(
PropertyTabScope
classification, bool setupToolbar) {
4031
if (classification ==
PropertyTabScope
.Static) {
4058
PropertyTabScope
[] newTabScopes = new
PropertyTabScope
[viewTabScopes.Length - 1];
4089
if (viewTabScopes[tabIndex] ==
PropertyTabScope
.Static) {
4114
PropertyTabScope
[] newTabScopes = new
PropertyTabScope
[viewTabScopes.Length - 1];
4149
PropertyTabScope
[] newTabScopes = new
PropertyTabScope
[viewTabScopes.Length - 1];
5144
owner.AddTab(propertyTabType,
PropertyTabScope
.Global);
5151
public void AddTabType(Type propertyTabType,
PropertyTabScope
tabScope) {
5163
public void Clear(
PropertyTabScope
tabScope) {