alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class PropertyInfoExtensions

    Class that provides the extension methods for the property info.

    Inheritance
    object
    PropertyInfoExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.DataSource.Extensions
    Assembly: Syncfusion.Maui.DataSource.dll
    Syntax
    public static class PropertyInfoExtensions

    Methods

    GetComplexPropertyValue(string[], PropertyInfoCollection, object)

    Return the value of the given record and complex property column.

    Declaration
    [RequiresUnreferencedCode("The GetComplexPropertyValue is not trim compatible")]
    public static object GetComplexPropertyValue(string[] propertyNameList, PropertyInfoCollection tempItemProperties, object record)
    Parameters
    Type Name Description
    string[] propertyNameList

    Represents the list of property names.

    PropertyInfoCollection tempItemProperties

    Represents the property information.

    object record

    Represents the record items.

    Returns
    Type Description
    object

    Returns the record items.

    GetPropertyDescriptor(PropertyInfoCollection, string)

    Generate the Property Descriptor for corresponding Property it may be simple or complex property

    Declaration
    [RequiresUnreferencedCode("The GetPropertyDescriptor is not trim compatible")]
    public static PropertyInfo GetPropertyDescriptor(this PropertyInfoCollection propertyInfoCollection, string columnName)
    Parameters
    Type Name Description
    PropertyInfoCollection propertyInfoCollection

    Represents the property collection info.

    string columnName

    Represents the column name.

    Returns
    Type Description
    PropertyInfo

    Returns the attributes of the property.

    GetPropertyInfo(PropertyInfoCollection, string)

    Gets the property info from the given property info collection and the column name.

    Declaration
    [RequiresUnreferencedCode("The GetPropertyInfo is not trim compatible")]
    public static PropertyInfo GetPropertyInfo(this PropertyInfoCollection propertyInfoCollection, string columnName)
    Parameters
    Type Name Description
    PropertyInfoCollection propertyInfoCollection

    The property info collection.

    string columnName

    The column name whose property info is to be obtained.

    Returns
    Type Description
    PropertyInfo

    The property info of the given property info collection and the column name.

    GetValue(PropertyInfoCollection, object, string)

    Gets the value for the given property info collection, column name and the record.

    Declaration
    [RequiresUnreferencedCode("The GetValue is not trim compatible")]
    public static object GetValue(this PropertyInfoCollection propertyInfoCollection, object record, string columnName)
    Parameters
    Type Name Description
    PropertyInfoCollection propertyInfoCollection

    The property info collection.

    object record

    The object whose corresponding value is to be obtained.

    string columnName

    The column name for which the value is to be obtained.

    Returns
    Type Description
    object

    The value for the given property info collection, column name and the record.

    GetValue(PropertyInfo, object)

    Gets the value for the given property info and the record.

    Declaration
    public static object GetValue(this PropertyInfo propertyInfo, object record)
    Parameters
    Type Name Description
    PropertyInfo propertyInfo

    The property info whose value is to be determined.

    object record

    The object whose corresponding value for the given property is to be obtained.

    Returns
    Type Description
    object

    The value for the given property info and the record.

    IsIndexerProperty(ref string, ref string)

    Determines whether the given property is the indexer property.

    Declaration
    public static bool IsIndexerProperty(ref string propertyName, ref string indexerValue)
    Parameters
    Type Name Description
    string propertyName

    The property name which is to be determined whether it is the indexer property.

    string indexerValue

    The indexer value of the given property.

    Returns
    Type Description
    bool

    True if the given property contains indexer, otherwise false.

    SetComplexPropertyValue(string[], PropertyInfoCollection, object, object)

    Set the value to complex property column with the given record.

    Declaration
    [RequiresUnreferencedCode("The SetComplexPropertyValue is not trim compatible")]
    public static bool SetComplexPropertyValue(string[] propertyNameList, PropertyInfoCollection tempItemProperties, object record, object value)
    Parameters
    Type Name Description
    string[] propertyNameList

    Represents the list of property names.

    PropertyInfoCollection tempItemProperties

    Represents the item properties.

    object record

    Represents the record.

    object value

    Represents the value.

    Returns
    Type Description
    bool

    Returns the boolean value.

    SetValue(PropertyInfoCollection, object, object, string)

    Sets the value for the corresponding object available in the PropertyDescriptorCollection

    Declaration
    [RequiresUnreferencedCode("The SetValue is not trim compatible")]
    public static bool SetValue(this PropertyInfoCollection propertyInfoCollection, object record, object value, string columnName)
    Parameters
    Type Name Description
    PropertyInfoCollection propertyInfoCollection

    Represents the item properties.

    object record

    Represents the record.

    object value

    Represents the value.

    string columnName

    Represents the column name.

    Returns
    Type Description
    bool

    Returns the boolean value.

    SetValue(PropertyInfo, object, object)

    Sets the value for the corresponding object available in the PropertyInfo.

    Declaration
    public static void SetValue(this PropertyInfo propertyInfo, object record, object value)
    Parameters
    Type Name Description
    PropertyInfo propertyInfo

    Represents the property info.

    object record

    Represents the record.

    object value

    Represents the value.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved