Xceed Toolkit Plus for WPF v4.6 Documentation
ViewPropertyAttribute Class
Members 


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views Namespace : ViewPropertyAttribute Class
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

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ViewPropertyAttribute Members
Xceed.Wpf.DataGrid.Views Namespace