Tom's Toolbox
Tom's Toolbox
TomsToolbox.Wpf.Composition.AttributedModel
DataTemplateAttribute Class
DataTemplateAttribute Properties
DataType Property
Role Property
DataTemplateAttribute
Role Property
Gets the role of this visual. If a role is set, a
RoleBasedDataTemplateKey
will be created for this view; else a simple
DataTemplateKey
is used.
Namespace:
TomsToolbox.Wpf.Composition.AttributedModel
Assembly:
TomsToolbox.Wpf.Composition.AttributedModel (in TomsToolbox.Wpf.Composition.AttributedModel.dll)
Syntax
C#
VB
Copy
public
Object
?
Role
{
get
;
set
; }
Public
Property
Role
As
Object
Get
Set
Property Value
Type:
Object
Implements
IDataTemplateMetadata
Role
See Also
Reference
DataTemplateAttribute Class
TomsToolbox.Wpf.Composition.AttributedModel Namespace
© tom-englert.de 2012-2023