WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PropertyViewItem

    Show / Hide Table of Contents

    Class PropertyViewItem

    The PropertyView Item class

    Inheritance
    System.Object
    PropertyViewItem
    Implements
    System.IDisposable
    Namespace: Syncfusion.Windows.PropertyGrid
    Assembly: Syncfusion.PropertyGrid.Wpf.dll
    Syntax
    public class PropertyViewItem : TreeViewItem, IDisposable

    Constructors

    PropertyViewItem()

    Initializes a new instance of the PropertyViewItem class.

    Declaration
    public PropertyViewItem()

    Fields

    EditorTemplateProperty

    Declaration
    public static readonly DependencyProperty EditorTemplateProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IsMouseOverProperty

    Declaration
    public static readonly DependencyProperty IsMouseOverProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IsSelectedProperty

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

    NameProperty

    Declaration
    public static readonly DependencyProperty NameProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    EditorTemplate

    Gets or sets the editor template.

    Declaration
    public DataTemplate EditorTemplate { get; set; }
    Property Value
    Type Description
    System.Windows.DataTemplate

    The editor template.

    HasItems

    Declaration
    public bool HasItems { get; }
    Property Value
    Type Description
    System.Boolean

    IsMouseOver

    Gets a value indicating whether the mouse pointer is located over this element (including child elements in the visual tree).

    Declaration
    public bool IsMouseOver { get; set; }
    Property Value
    Type Description
    System.Boolean

    IsSelected

    Gets or sets a value indicating whether this instance is selected.

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

    true if this instance is selected; otherwise, false.

    Name

    Gets or sets the identifying name of the element. The name provides a reference so that code-behind, such as event handler code, can refer to a markup element after it is constructed during processing by a XAML processor.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    Dispose()

    Declaration
    public void Dispose()

    GetContainerForItemOverride()

    Creates or identifies the element that is used to display the given item.

    Declaration
    protected override DependencyObject GetContainerForItemOverride()
    Returns
    Type Description
    System.Windows.DependencyObject

    The element that is used to display the given item.

    IsItemItsOwnContainerOverride(Object)

    Declaration
    protected override bool IsItemItsOwnContainerOverride(object item)
    Parameters
    Type Name Description
    System.Object item
    Returns
    Type Description
    System.Boolean

    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()

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

    OnGotFocus(RoutedEventArgs)

    Invoked whenever an unhandled System.Windows.UIElement.GotFocus event reaches this element in its route.

    Declaration
    protected override void OnGotFocus(RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.RoutedEventArgs e

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

    OnIsMouseOverChanged(DependencyPropertyChangedEventArgs)

    Raises the IsMouseOverChanged event.

    Declaration
    protected void OnIsMouseOverChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

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

    OnIsSelectedChanged(DependencyPropertyChangedEventArgs)

    Raises the IsSelectedChanged event.

    Declaration
    protected void OnIsSelectedChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

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

    OnLostFocus(RoutedEventArgs)

    Raises the System.Windows.UIElement.LostFocus routed event by using the event data that is provided.

    Declaration
    protected override void OnLostFocus(RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.RoutedEventArgs e

    A System.Windows.RoutedEventArgs that contains event data. This event data must contain the identifier for the System.Windows.UIElement.LostFocus event.

    OnMouseEnter(MouseEventArgs)

    Invoked when an unhandled System.Windows.Input.Mouse.MouseEnter attached event is raised on this element. Implement this method to add class handling for this event.

    Declaration
    protected override void OnMouseEnter(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    The System.Windows.Input.MouseEventArgs that contains the event data.

    OnMouseLeave(MouseEventArgs)

    Invoked when an unhandled System.Windows.Input.Mouse.MouseLeave attached event is raised on this element. Implement this method to add class handling for this event.

    Declaration
    protected override void OnMouseLeave(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    The System.Windows.Input.MouseEventArgs that contains the event data.

    OnMouseLeftButtonDown(MouseButtonEventArgs)

    Invoked when an unhandled System.Windows.UIElement.MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.

    Declaration
    protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed.

    OnMouseMove(MouseEventArgs)

    Invoke on Mousemove

    Declaration
    protected override void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)

    Occurs when the left mouse button is pressed while the mouse pointer is over this element.

    Declaration
    protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    Provides data for mouse button related events

    PrepareContainerForItemOverride(DependencyObject, Object)

    Prepares the specified element to display the specified item.

    Declaration
    protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
    Parameters
    Type Name Description
    System.Windows.DependencyObject element

    Element used to display the specified item.

    System.Object item

    Specified item.

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved