Beispiel #1
0
 /// <summary>
 /// Gets the DataTemplate resource for MultiLineTextValueEditor</summary>
 /// <param name="node">PropertyNode (unused)</param>
 /// <returns>DataTemplate resource for MultiLineTextValueEditor</returns>
 public override DataTemplate GetTemplate(PropertyNode node, DependencyObject container)
 {
     return(FindResource <DataTemplate>(TemplateKey, container));
 }
Beispiel #2
0
 /// <summary>
 /// Gets a new custom context for the node</summary>
 /// <param name="node">Property node to get the context for</param>
 /// <returns>The new context, or null if the node is null</returns>
 public override object GetCustomContext(PropertyNode node)
 {
     return(node != null ? new RangeSliderValueEditorContext(node) : null);
 }