| UIRendererGetAttributeT Method |
Gets a style-specific attribute value.
Namespace: DigitalRune.Game.UI.RenderingAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public bool GetAttribute<T>(
string style,
string name,
out T result
)
Public Function GetAttribute(Of T) (
style As String,
name As String,
<OutAttribute> ByRef result As T
) As Boolean
public:
generic<typename T>
virtual bool GetAttribute(
String^ style,
String^ name,
[OutAttribute] T% result
) sealed
abstract GetAttribute :
style : string *
name : string *
result : 'T byref -> bool
override GetAttribute :
style : string *
name : string *
result : 'T byref -> bool
Parameters
- style
- Type: SystemString
The style. - name
- Type: SystemString
The name of the attribute. - result
- Type: T
The attribute value.
Type Parameters
- T
- The type of the attribute value.
Return Value
Type:
Boolean if the renderer can provide a value for the attribute; otherwise,
if the renderer does not know the style or the attribute.
Implements
IUIRendererGetAttributeT(String, String, T)Remarks See Also