[Root] / Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Views Namespace / ViewPropertyAttribute Class


In This Topic
    ViewPropertyAttribute Class
    In This Topic
    Identifies how and if a property in a view can be accessed using a ViewBinding (see Remarks).
    Syntax
    'Declaration
     
    <AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple=False)>
    Public NotInheritable Class ViewPropertyAttribute 
       Inherits System.Attribute
    'Usage
     
    Dim instance As ViewPropertyAttribute
    [AttributeUsage(AttributeTargets.Field, AllowMultiple=false)]
    public sealed class ViewPropertyAttribute : System.Attribute 
    Remarks

    Member Description
    None The property on which the ViewPropertyAttribute is set cannot be accessed through a ViewBinding.
    ViewOnly The property on which the ViewPropertyAttribute is set will be accessible through a ViewBinding. If defined on a table-view property, it will not be possible to provide an alternate value for DetailConfigurations.
    Routed The attached property on which the ViewPropertyAttribute is set will be accessible through a ViewBinding. If defined on a table-view property, the binding will redirect to the appropriate DetailConfigurations for its value.

    Inheritance Hierarchy

    System.Object
       System.Attribute
          Xceed.Wpf.DataGrid.Views.ViewPropertyAttribute

    Public Constructors
    Public Properties
     NameDescription
    Public Property (Inherited from System.Attribute)
    Public PropertyGets a value that determines how or if the property on which the attribute is set can be accessed through a ViewBinding.  
    Top
    Public Methods
     NameDescription
    Public Method (Inherited from System.Attribute)
    Public Method (Inherited from System.Attribute)
    Public Method (Inherited from System.Attribute)
    Public Method (Inherited from System.Attribute)
    Top
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net20, net35, net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also