menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PropertyAccessor - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PropertyAccessor

    Represents the class that defines the methods to access the property, its value and etc.

    Inheritance
    System.Object
    PropertyAccessor
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Data
    Assembly: Syncfusion.Data.WPF.dll
    Syntax
    public class PropertyAccessor

    Constructors

    PropertyAccessor(PropertyInfo)

    Initializes a new instance of PropertyAccessor class.

    Declaration
    public PropertyAccessor(PropertyInfo propertyInfo)
    Parameters
    Type Name Description
    System.Reflection.PropertyInfo propertyInfo

    The property info for the property accessor being initialized.

    Properties

    PropertyInfo

    Gets the information of the property.

    Declaration
    public PropertyInfo PropertyInfo { get; }
    Property Value
    Type Description
    System.Reflection.PropertyInfo

    The information of the property.

    Methods

    GetValue(Object)

    Gets the value for the given object.

    Declaration
    public object GetValue(object obj)
    Parameters
    Type Name Description
    System.Object obj

    The object for which the value is to be obtained.

    Returns
    Type
    System.Object
    Exceptions
    Type Condition
    System.NotSupportedException

    Get method is not defined for this property

    SetValue(Object, Object)

    Sets the given value to the given object.

    Declaration
    public void SetValue(object obj, object value)
    Parameters
    Type Name Description
    System.Object obj

    The object for which the value is to be obtained.

    System.Object value

    The value to be set.

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