GoXam for WPF v3
FindDefault<T> Method
Northwoods.GoXam Namespace > Diagram Class : FindDefault<T> Method
the type of the desired resource
This static method finds a default diagram resource of type T.
Syntax
public static T FindDefault<T>( 
   string name
)

Parameters

name

Type Parameters

T
the type of the desired resource

Return Value

null if no resource can be found with the name name or if it does exist but is not of type T
Remarks
This is different from something like myDiagram.TryFindResource("DefaultSelectionAdornmentTemplate") in that it only considers the predefined Diagram default DataTemplates and Styles, defined in Generic.xaml.
See Also

Reference

Diagram Class
Diagram Members