skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class PropertyGridField

Provides UI for displaying and editing of a property in RadPropertyGrid.

Inheritance
System.Object
PropertyGridField
Namespace: Telerik.Windows.Controls.Data.PropertyGrid
Assembly: Telerik.Windows.Controls.Data.dll

Syntax

public class PropertyGridField : ContentControl, IThemable

Constructors

PropertyGridField()

Initializes a new instance of the PropertyGridField class.

Declaration
public PropertyGridField()

Fields

IsCurrentProperty

Represents the IsCurrent dependency property.

Declaration
public static readonly DependencyProperty IsCurrentProperty
Field Value
System.Windows.DependencyProperty

IsExpandedProperty

Represents the IsExpandedProperty dependency property.

Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
System.Windows.DependencyProperty

IsReadOnlyProperty

Represents the IsReadOnly dependency property.

Declaration
public static readonly DependencyProperty IsReadOnlyProperty
Field Value
System.Windows.DependencyProperty

IsSelectedChangedEvent

Occurs when a field's IsSelected state changes.

Declaration
public static readonly RoutedEvent IsSelectedChangedEvent
Field Value
System.Windows.RoutedEvent

IsSelectedProperty

Represents the IsSelected dependency property.

Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
System.Windows.DependencyProperty

ShouldDisplayNestedItemsControlProperty

Represents the ShouldDisplayNestedItemsControl dependency property.

Declaration
public static readonly DependencyProperty ShouldDisplayNestedItemsControlProperty
Field Value
System.Windows.DependencyProperty

ShouldDisplayNestedItemsControlPropertyKey

Represents the ShouldDisplayNestedItemsControl dependency property.

Declaration
public static readonly DependencyPropertyKey ShouldDisplayNestedItemsControlPropertyKey
Field Value
System.Windows.DependencyPropertyKey

ShouldDisplayNestedPropertiesProperty

Represents the ShouldDisplayNestedProperties dependency property.

Declaration
public static readonly DependencyProperty ShouldDisplayNestedPropertiesProperty
Field Value
System.Windows.DependencyProperty

ShouldDisplayNestedPropertiesPropertyKey

Represents the ShouldDisplayNestedProperties dependency property.

Declaration
public static readonly DependencyPropertyKey ShouldDisplayNestedPropertiesPropertyKey
Field Value
System.Windows.DependencyPropertyKey

Properties

IndentLevel

Gets field's indentation level.

Declaration
public int IndentLevel { get; }
Property Value
System.Int32

IsCurrent

Gets or sets a value indicating whether the field is focused.

Declaration
public bool IsCurrent { get; }
Property Value
System.Boolean

IsExpanded

Gets or sets a value indicating whether the field is expanded.

Declaration
public bool IsExpanded { get; set; }
Property Value
System.Boolean

IsSelected

Gets or sets a value indicating whether the field is selected.

Declaration
public bool IsSelected { get; set; }
Property Value
System.Boolean

Label

Gets the field's label.

Declaration
public TextBlock Label { get; }
Property Value
System.Windows.Controls.TextBlock

The label.

ParentPropertyGrid

Gets the parent property grid.

Declaration
public RadPropertyGrid ParentPropertyGrid { get; }
Property Value
RadPropertyGrid

ShouldDisplayNestedItemsControl

Gets or sets a value that indicates whether nested items control should be displayed.

Declaration
public bool ShouldDisplayNestedItemsControl { get; }
Property Value
System.Boolean

The should display nested items control.

ShouldDisplayNestedProperties

Gets a value that indicates whether the NestedProperties UI should be visible.

Declaration
public bool ShouldDisplayNestedProperties { get; }
Property Value
System.Boolean

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.

Declaration
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer

The type-specific System.Windows.Automation.Peers.AutomationPeer implementation.

OnInitialized(EventArgs)

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

The System.Windows.RoutedEventArgs that contains the event data.

OnIsCurrentChanged(DependencyObject, DependencyPropertyChangedEventArgs)

Called when IsCurrent property is changed.

Declaration
protected static void OnIsCurrentChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
Parameters
System.Windows.DependencyObject sender

The sender.

System.Windows.DependencyPropertyChangedEventArgs args

The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.

OnIsExpandedChanged(DependencyObject, DependencyPropertyChangedEventArgs)

Called when IsExpanded property is changed.

Declaration
protected static void OnIsExpandedChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
Parameters
System.Windows.DependencyObject sender

The sender.

System.Windows.DependencyPropertyChangedEventArgs args

The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.

OnIsSelectedChanged(Boolean)

Raises the IsSelectedChanged event.

Declaration
protected virtual void OnIsSelectedChanged(bool isSelected)
Parameters
System.Boolean isSelected

if set to true [is selected].

OnIsSelectedChanged(DependencyObject, DependencyPropertyChangedEventArgs)

Called when IsSelected property is changed.

Declaration
protected static void OnIsSelectedChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
Parameters
System.Windows.DependencyObject sender

The sender.

System.Windows.DependencyPropertyChangedEventArgs args

The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.

OnMouseLeftButtonDown(Object, MouseButtonEventArgs)

Called when MouseLeftDown occurs.

Declaration
protected virtual void OnMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
Parameters
System.Object sender

The sender.

System.Windows.Input.MouseButtonEventArgs e

The System.Windows.Input.MouseButtonEventArgs instance containing the event data.

OnTapDown()

Called when TapDown occurs.

Declaration
protected virtual void OnTapDown()

OnUnloaded(Object, RoutedEventArgs)

Called when the Unloaded event is Raised.

Declaration
protected virtual void OnUnloaded(object sender, RoutedEventArgs e)
Parameters
System.Object sender

The sender.

System.Windows.RoutedEventArgs e

The System.Windows.RoutedEventArgs instance containing the event data.

ResetTheme()

Resets the theme.

Declaration
public void ResetTheme()

Events

IsSelectedChanged

Occurs when a field's IsSelected state changes.

Declaration
public event EventHandler<PropertyGridFieldEventArgs> IsSelectedChanged
Event Type
System.EventHandler<PropertyGridFieldEventArgs>

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.