5 overrides of PropertyLabel
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ArrayElementGridEntry.cs (1)
21public override string PropertyLabel => $"[{_index}]";
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.cs (1)
79public override string PropertyLabel => _name;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
165public override string? PropertyLabel
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (1)
162public override string? PropertyLabel
System.Windows.Forms.Tests (1)
System\Windows\Forms\PropertyGridInternal\ArrayElementGridEntryTests.cs (1)
18public override string PropertyLabel => "Test";
17 references to PropertyLabel
System.Windows.Forms (17)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (13)
496label = $"{label}.{PropertyLabel}"; 500label = PropertyLabel; 603public override string? Label => PropertyLabel; 621internal virtual string? LabelToolTipText => PropertyLabel; 731public virtual string? PropertyName => PropertyLabel; 1122&& entry.PropertyLabel is not null 1123&& entry.PropertyLabel.Equals(PropertyLabel) 1242=> $@"object = ({FullLabel}), property = ({PropertyLabel},{(PropertyType ?? typeof(object)).AssemblyQualifiedName}) 1371Debug.Assert(!s_pbrsAssertPropsSwitch.Enabled, $"Bad property '{PropertyLabel}.{property.Name}': {w}"); 1467public override int GetHashCode() => HashCode.Combine(PropertyLabel, PropertyType, GetType()); 1513string? label = PropertyLabel; 2258public override string ToString() => $"{GetType().FullName} {PropertyLabel}";
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
68public override string? Name => this.TryGetOwnerAs(out GridEntry? owner) ? owner.PropertyLabel : null;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (3)
1095SizeF sizeF = PropertyGrid.MeasureTextHelper.MeasureText(OwnerGrid, g, gridEntry.PropertyLabel, Font); 1372if (!string.Equals(propertyName, entry.PropertyLabel, StringComparison.InvariantCultureIgnoreCase)) 4422OwnerGrid.SetStatusBox(gridEntry.PropertyLabel, gridEntry.PropertyDescription);