Exemple #1
0
 public static void SetValue <TValue>(this DependencyObject o, StyledProperty <TValue> property, TValue value)
 {
     o.SetValue(property.Property, value);
 }
Exemple #2
0
 public static TValue GetValue <TValue>(this DependencyObject o, StyledProperty <TValue> property)
 {
     return((TValue)o.GetValue(property.Property));
 }