4 types derived from GridEntry
System.Windows.Forms (4)
winforms\Managed\System\WinForms\PropertyGridInternal\ArrayElementGridEntry.cs (1)
23
internal class ArrayElementGridEntry :
GridEntry
{
winforms\Managed\System\WinForms\PropertyGridInternal\CategoryGridEntry.cs (1)
25
internal class CategoryGridEntry :
GridEntry
{
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
28
internal class PropertyDescriptorGridEntry :
GridEntry
{
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (1)
24
internal class SingleSelectRootGridEntry :
GridEntry
, IRootGridEntry {
259 references to GridEntry
System.Windows.Forms (259)
winforms\Managed\System\WinForms\PropertyGrid.cs (13)
86
private
GridEntry
peDefault;
87
private
GridEntry
peMain;
1433
gridView.SelectedGridEntry = (
GridEntry
)value;
2600
internal
GridEntry
GetDefaultGridEntry() {
2602
peDefault = (
GridEntry
)currentPropEntries[0];
3372
var
gridEntry = changedItem as
GridEntry
;
3387
internal void OnSelectedGridItemChanged(
GridEntry
oldEntry,
GridEntry
newEntry) {
4709
peMain = (
GridEntry
)viewTabProps[tabName];
4716
peMain = (
GridEntry
)
GridEntry
.Create(gridView, currentObjects, new PropertyGridServiceProvider(this), designerHost, this.SelectedTab, propertySortValue);
4723
currentPropEntries = new GridEntryCollection(null, new
GridEntry
[0]);
winforms\Managed\System\WinForms\PropertyGridInternal\ArrayElementGridEntry.cs (1)
28
public ArrayElementGridEntry(PropertyGrid ownerGrid,
GridEntry
peParent, int index)
winforms\Managed\System\WinForms\PropertyGridInternal\CategoryGridEntry.cs (6)
35
public CategoryGridEntry(PropertyGrid ownerGrid,
GridEntry
peParent,string name,
GridEntry
[] childGridEntries)
66
this.SetFlag(
GridEntry
.FLAG_LABEL_BOLD,true);
190
public override object GetChildValueOwner(
GridEntry
childEntry) {
211
bool bold = ((this.Flags &
GridEntry
.FLAG_LABEL_BOLD) != 0);
245
internal override bool NotifyChildValue(
GridEntry
pe, int type) {
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (57)
113
internal
GridEntry
parentPE = null;
142
protected GridEntry(PropertyGrid owner,
GridEntry
peParent) {
364
internal virtual
GridEntry
DefaultChild {
393
return(this.Flags &
GridEntry
.FLAG_ENUMERABLE) != 0;
494
flags |=
GridEntry
.FLAG_ENUMERABLE;
499
flags |=
GridEntry
.FLAG_TEXT_EDITABLE;
506
flags |=
GridEntry
.FLAG_IMMUTABLE;
510
flags |=
GridEntry
.FL_EXPANDABLE;
515
if (!forceReadOnly && (flags &
GridEntry
.FLAG_TEXT_EDITABLE) == 0 && !isImmutableReadOnly) {
516
flags |=
GridEntry
.FLAG_READONLY_EDITABLE;
521
flags |=
GridEntry
.FLAG_RENDER_PASSWORD;
526
flags |=
GridEntry
.FLAG_CUSTOM_PAINT;
539
flags |=
GridEntry
.FLAG_CUSTOM_EDITABLE;
541
flags |=
GridEntry
.FLAG_READONLY_EDITABLE;
545
flags |=
GridEntry
.FLAG_DROPDOWN_EDITABLE;
700
if ((this.flags &
GridEntry
.FLAG_CUSTOM_PAINT) != 0 ||
701
(this.flags &
GridEntry
.FL_NO_CUSTOM_PAINT) != 0) {
702
return(this.flags &
GridEntry
.FLAG_CUSTOM_PAINT) != 0;
707
flags |=
GridEntry
.FLAG_CUSTOM_PAINT;
711
flags |=
GridEntry
.FL_NO_CUSTOM_PAINT;
716
return(this.Flags &
GridEntry
.FLAG_CUSTOM_PAINT) != 0;
734
return this.IsValueEditable && (this.Flags &
GridEntry
.FLAG_TEXT_EDITABLE) != 0;
740
return !ForceReadOnly && 0 != (Flags & (
GridEntry
.FLAG_DROPDOWN_EDITABLE |
GridEntry
.FLAG_TEXT_EDITABLE |
GridEntry
.FLAG_CUSTOM_EDITABLE |
GridEntry
.FLAG_ENUMERABLE));
803
return(this.Flags &
GridEntry
.FLAG_DROPDOWN_EDITABLE) != 0;
809
return(this.Flags &
GridEntry
.FLAG_CUSTOM_EDITABLE) != 0 && (IsValueEditable || (Flags &
GridEntry
.FLAG_READONLY_EDITABLE) !=0);
846
public virtual
GridEntry
ParentGridEntry{
970
return (this.Flags &
GridEntry
.FLAG_RENDER_PASSWORD) != 0;
976
return ForceReadOnly || (0 != (this.Flags &
GridEntry
.FLAG_RENDER_READONLY) || (!this.IsValueEditable && (0 == (this.Flags &
GridEntry
.FLAG_READONLY_EDITABLE))));
1188
this.childCollection = new GridEntryCollection(this, new
GridEntry
[0]);
1199
GridEntry
[] childProps = GetPropEntries(this,
1233
this.childCollection = new GridEntryCollection(this, new
GridEntry
[0]);
1353
return((
GridEntry
)obj).ParentGridEntry == this.ParentGridEntry;
1379
internal virtual int GetChildIndex(
GridEntry
pe) {
1471
public virtual object GetChildValueOwner(
GridEntry
childEntry) {
1521
protected virtual
GridEntry
[] GetPropEntries(
GridEntry
peParent, object obj, Type objType) {
1529
GridEntry
[] entries = null;
1577
props = props.Sort(
GridEntry
.DisplayNameComparer);
1599
entries = new
GridEntry
[objArray.Length];
1611
entries = new
GridEntry
[props.Count];
1618
GridEntry
newEntry;
1847
if (!(obj is
GridEntry
)) return false;
1848
GridEntry
pe = (
GridEntry
)obj;
1875
bool fBold = ((this.Flags &
GridEntry
.FLAG_LABEL_BOLD) != 0);
2517
internal virtual bool NotifyChildValue(
GridEntry
pe, int type) {
2550
foreach(
GridEntry
child in ChildCollection) {
2585
GridEntry
e = (
GridEntry
) o;
2731
protected
GridEntry
owner = null;
2735
public GridEntryAccessibleObject(
GridEntry
owner) : base() {
2786
var
parentGridEntry = owner.ParentGridEntry;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntryCollection.cs (13)
28
private
GridEntry
owner;
30
public GridEntryCollection(
GridEntry
owner,
GridEntry
[] entries) : base(entries) {
34
public void AddRange(
GridEntry
[] value) {
39
GridEntry
[] newArray = new
GridEntry
[entries.Length + value.Length];
45
entries = (
GridEntry
[])value.Clone();
50
entries = new
GridEntry
[0];
57
internal
GridEntry
GetEntry(int index) {
58
return (
GridEntry
)entries[index];
61
internal int GetEntry(
GridEntry
child) {
75
((
GridEntry
)entries[i]).Dispose();
79
entries = new
GridEntry
[0];
winforms\Managed\System\WinForms\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (4)
33
internal ImmutablePropertyDescriptorGridEntry(PropertyGrid ownerGrid,
GridEntry
peParent, PropertyDescriptor propInfo, bool hide)
54
GridEntry
parentEntry = InstanceParentGridEntry;
99
private
GridEntry
InstanceParentGridEntry {
101
GridEntry
parent = this.ParentGridEntry;
winforms\Managed\System\WinForms\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (7)
26
public MultiPropertyDescriptorGridEntry(PropertyGrid ownerGrid,
GridEntry
peParent, object[] objectArray, PropertyDescriptor[] propInfo, bool hide)
106
if (mergedPd.PropertyType.IsValueType || (Flags &
GridEntry
.FLAG_IMMUTABLE) != 0) {
121
SetFlag(
GridEntry
.FL_EXPANDABLE_FAILED,true);
130
public override object GetChildValueOwner(
GridEntry
childEntry) {
131
if (mergedPd.PropertyType.IsValueType || (Flags &
GridEntry
.FLAG_IMMUTABLE) != 0) {
163
internal override bool NotifyChildValue(
GridEntry
pe, int type) {
183
protected override void NotifyParentChange(
GridEntry
ge) {
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (3)
75
SetFlag(
GridEntry
.FL_EXPANDABLE_FAILED,true);
88
public static MultiPropertyDescriptorGridEntry[] GetMergedProperties(object[] rgobjs,
GridEntry
parentEntry, PropertySort sort, PropertyTab tab) {
140
private static ArrayList GetCommonProperties(object[] objs, bool presort, PropertyTab tab,
GridEntry
parentEntry) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (6)
63
internal PropertyDescriptorGridEntry(PropertyGrid ownerGrid,
GridEntry
peParent, bool hide)
72
internal PropertyDescriptorGridEntry(PropertyGrid ownerGrid,
GridEntry
peParent, PropertyDescriptor propInfo, bool hide)
119
GridEntry
ge = this;
357
if (propertyInfo.IsReadOnly && !readOnlyVerified && GetFlagSet(
GridEntry
.FLAG_READONLY_EDITABLE)) {
474
protected virtual void NotifyParentChange(
GridEntry
ge) {
853
GridEntry
parent = this.ParentGridEntry;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (138)
116
private
GridEntry
selectedGridEntry = null;
157
private
GridEntry
lastClickedEntry;
578
internal
GridEntry
SelectedGridEntry {
584
foreach (
GridEntry
e in allGridEntries) {
592
GridEntry
gr = FindEquivalentGridEntry(new GridEntryCollection(null, new
GridEntry
[]{value}));
781
internal Rectangle AccessibilityGetGridEntryBounds(
GridEntry
gridEntry) {
796
internal int AccessibilityGetGridEntryChildID(
GridEntry
gridEntry) {
815
internal void AccessibilitySelect(
GridEntry
entry) {
831
GridEntry
ge = ipeArray.GetEntry(i);
880
GridEntry
ge = ipeArray.GetEntry(i);
963
var
gridEntry = GetGridEntryFromRow(selectedRow);
1084
if (((
GridEntry
)rgipes[i]).InternalExpanded)
1085
cProps += CountPropsFromOutline(((
GridEntry
)rgipes[i]).Children);
1229
internal void DumpPropsToConsole(
GridEntry
entry, string prefix) {
1243
foreach(
GridEntry
g in children) {
1249
private int GetIPELabelIndent(
GridEntry
gridEntry) {
1254
private int GetIPELabelLength(System.Drawing.Graphics g,
GridEntry
gridEntry) {
1260
private bool IsIPELabelLong(System.Drawing.Graphics g,
GridEntry
gridEntry) {
1268
GridEntry
gridEntry = GetGridEntryFromRow(row);
1311
GridEntry
gridEntry = GetGridEntryFromRow(row);
1340
private /*protected virtual*/ void DrawValueEntry(System.Drawing.Graphics g, Rectangle rect, Rectangle clipRect,
GridEntry
gridEntry, object value, bool fetchValue) {
1343
private void DrawValue(System.Drawing.Graphics g, Rectangle rect, Rectangle clipRect,
GridEntry
gridEntry, object value, bool drawSelected, bool checkShouldSerialize, bool fetchValue, bool paintInPlace) {
1344
GridEntry
.PaintValueFlags paintFlags =
GridEntry
.PaintValueFlags.None;
1347
paintFlags |=
GridEntry
.PaintValueFlags.DrawSelected;
1351
paintFlags |=
GridEntry
.PaintValueFlags.CheckShouldSerialize;
1355
paintFlags |=
GridEntry
.PaintValueFlags.FetchValue;
1359
paintFlags |=
GridEntry
.PaintValueFlags.PaintInPlace;
1366
GridEntry
gridEntry = GetGridEntryFromRow(selectedRow);
1401
GridEntry
gridEntry = GetGridEntryFromRow(row);
1479
internal
GridEntry
GetElementFromPoint(int x, int y) {
1482
GridEntry
[] targetEntries = new
GridEntry
[allGridEntries.Count];
1490
foreach (
GridEntry
gridEntry in targetEntries) {
1746
var
gridEntry = GetGridEntryFromRow(selectedRow);
1778
GridEntry
gridEntry = GetGridEntryFromRow(row);
1801
GridEntry
gridEntry = GetGridEntryFromRow(selectedRow);
1854
GridEntry
gridEntry = GetGridEntryFromRow(selectedRow);
1863
private /*protected virtual*/
GridEntry
FindEquivalentGridEntry(GridEntryCollection ipeHier) {
1872
GridEntry
targetEntry = null;
1952
GridEntry
[] rgipes = new
GridEntry
[totalProps];
1967
private int GetCurrentValueIndex(
GridEntry
gridEntry) {
2048
private GridEntryCollection GetGridEntryHierarchy(
GridEntry
gridEntry) {
2055
GridEntry
[] entries = new
GridEntry
[depth + 1];
2064
return new GridEntryCollection(null, new
GridEntry
[]{gridEntry});
2067
private /*protected virtual*/
GridEntry
GetGridEntryFromRow(int row) {
2071
private /*protected virtual*/
GridEntry
GetGridEntryFromOffset(int offset) {
2081
int cTarget,
GridEntry
[] rgipeTarget) {
2093
GridEntry
ipeCur = rgipe.GetEntry(cLocal);
2161
private int GetRowFromGridEntry(
GridEntry
gridEntry) {
2187
internal int GetRowFromGridEntryInternal(
GridEntry
gridEntry) {
2209
GridEntry
gridEntry = (entry < 0) ? GetGridEntryFromRow(selectedRow) : GetGridEntryFromOffset(entry);
2238
internal void InvalidateGridEntryValue(
GridEntry
ge) {
2509
GridEntry
gridEntry = GetGridEntryFromRow(selectedRow);
2523
GridEntry
gridEntry = GetGridEntryFromRow(selectedRow);
2562
GridEntry
gridEntry = GetGridEntryFromRow(selectedRow);
2595
GridEntry
gridEntry = GetGridEntryFromRow(selectedRow);
2623
GridEntry
gridEntry = GetGridEntryFromRow(selectedRow);
2624
if (gridEntry != null && (gridEntry.Flags &
GridEntry
.FLAG_IMMEDIATELY_EDITABLE) != 0)
2680
private bool ProcessEnumUpAndDown(
GridEntry
gridEntry, Keys keyCode, bool closeDropDown = true) {
2720
GridEntry
gridEntry = GetGridEntryFromRow(selectedRow);
2741
GridEntry
gridEntry = GetGridEntryFromRow(selectedRow);
2905
GridEntry
gridEntry = GetGridEntryFromRow(selectedRow);
3196
GridEntry
gridEntry = GetGridEntryFromRow(pos.Y);
3257
GridEntry
gridItem = GetGridEntryFromRow(rowMoveCur);
3581
GridEntry
gridEntry = (
GridEntry
)s;
3594
GridEntry
gridEntry = (
GridEntry
)s;
3605
this.lastClickedEntry = (
GridEntry
)s;
3610
GridEntry
gridEntry = (
GridEntry
)s;
3630
this.lastClickedEntry = (
GridEntry
)s;
3710
GridEntry
parent = (
GridEntry
) s;
3714
GridEntry
[] entries = new
GridEntry
[allGridEntries.Count];
3734
GridEntry
[] newEntries = new
GridEntry
[newArraySize];
3822
GridEntry
oldGridEntry = selectedGridEntry;
3851
GridEntry
gridEntry = GetGridEntryFromRow(row);
4053
internal /*public virtual*/ void RecursivelyExpand(
GridEntry
gridEntry, bool fInit, bool expand, int maxExpands) {
4067
GridEntry
ipeSelect = selectedGridEntry;
4082
foreach (
GridEntry
gridentry in topLevelGridEntries) {
4104
GridEntry
gridEntry = null;
4124
object oldObject = topLevelGridEntries == null || topLevelGridEntries.Count == 0 ? null : ((
GridEntry
)topLevelGridEntries[0]).GetValueOwner();
4161
object newObject = topLevelGridEntries == null || topLevelGridEntries.Count == 0 ? null : ((
GridEntry
)topLevelGridEntries[0]).GetValueOwner();
4210
GridEntry
gridEntry = GetGridEntryFromRow(selectedRow);
4249
if (((
GridEntry
)entries[i]).InternalExpanded) {
4250
GridEntry
entry = entries.GetEntry(i);
4262
GridEntry
ipeCur = selectedGridEntry;
4307
internal /*protected virtual*/ void SelectGridEntry(
GridEntry
gridEntry, bool fPageIn) {
4369
GridEntry
gridEntry = GetGridEntryFromRow(row);
4493
GridEntry
oldSelectedGridEntry = selectedGridEntry;
4604
internal /*public virtual*/ void SetExpand(
GridEntry
gridEntry, bool value) {
4624
GridEntry
ipeSelect = selectedGridEntry;
4626
for (
GridEntry
ipeCur = ipeSelect; ipeCur != null; ipeCur = ipeCur.ParentGridEntry) {
4698
GridEntry
ipeCur = GetGridEntryFromRow(selectedRow);
4720
GridEntry
ipeCur = selectedGridEntry;
4734
internal bool CommitValue(
GridEntry
ipeCur, object value, bool closeDropDown = true) {
4828
GridEntry
ipeCur = selectedGridEntry;
5117
GridEntry
gridEntry = GetGridEntryFromRow(selectedRow);
5141
private void UpdateHelpAttributes(
GridEntry
oldEntry,
GridEntry
newEntry) {
5149
GridEntry
temp = oldEntry;
5166
private void UpdateHelpAttributes(IHelpService helpSvc,
GridEntry
entry, bool addAsF1) {
5215
GridEntry
gridEntry = GetGridEntryFromRow(selectedRow);
5227
private void UpdateResetCommand(
GridEntry
gridEntry) {
5288
GridEntry
curEntry = GetGridEntryFromRow(mouseLoc.Y);
5420
foreach (
GridEntry
t in topLevelGridEntries) {
5430
private void ResetOutline(
GridEntry
entry) {
5433
foreach (
GridEntry
ent in entry.Children) {
7029
var
selectedGridEntry = propertyGridView.SelectedGridEntry;
7457
public AccessibleObject Next(
GridEntry
current) {
7459
GridEntry
nextEntry = ((PropertyGridView)Owner).GetGridEntryFromRow(++row);
7467
GridEntry
[] targetEntries = new
GridEntry
[1];
7498
internal AccessibleObject GetPreviousGridEntry(
GridEntry
currentGridEntry, GridEntryCollection gridEntryCollection, out bool currentGridEntryFound) {
7499
GridEntry
previousGridEntry = null;
7502
foreach (
GridEntry
gridEntry in gridEntryCollection) {
7540
internal AccessibleObject GetNextGridEntry(
GridEntry
currentGridEntry, GridEntryCollection gridEntryCollection, out bool currentGridEntryFound) {
7543
foreach (
GridEntry
gridEntry in gridEntryCollection) {
7578
GridEntry
[] targetEntries = new
GridEntry
[1];
7602
GridEntry
[] targetEntries = new
GridEntry
[1];
7625
GridEntry
nextEntry;
7638
public AccessibleObject Previous(
GridEntry
current) {
7640
GridEntry
prevEntry = ((PropertyGridView)Owner).GetGridEntryFromRow(--row);
7655
GridEntry
previousEntry;
7708
GridEntry
gridEntry = ((PropertyGridView)Owner).SelectedGridEntry;
7720
GridEntry
gridEntry = ((PropertyGridView)Owner).SelectedGridEntry;
7746
GridEntry
gridEntry = ((PropertyGridView)Owner).GetGridEntryFromRow(pos.Y);
7794
public
GridEntry
Restore(PropertyGridView gridView) {
7796
GridEntry
entry = gridView.FindEquivalentGridEntry(selectedItemTree);
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (11)
27
protected
GridEntry
propDefault;
42
internal SingleSelectRootGridEntry(PropertyGridView gridEntryHost, object value,
GridEntry
parent, IServiceProvider baseProvider, IDesignerHost host, PropertyTab tab, PropertySort sortType)
91
Array.Sort(attr1,
GridEntry
.AttributeTypeSorter);
92
Array.Sort(attr2,
GridEntry
.AttributeTypeSorter);
136
internal override
GridEntry
DefaultChild {
301
GridEntry
[] childEntries = new
GridEntry
[this.Children.Count];
313
GridEntry
pe = childEntries[i];
338
GridEntry
[] rgpes = new
GridEntry
[bin.Count];
349
childEntries = new
GridEntry
[propList.Count];