Exemplo n.º 1
0
 public static INameScope GetNameScope(DependencyObject dependencyObject)
 {
     return (INameScope)dependencyObject.GetValue(NameScopeProperty);
 }
Exemplo n.º 2
0
 private bool CheckCondition(DependencyObject source)
 {
     object value = source.GetValue(this.Property);
     return value != null && value.Equals(ConvertToType(this.Value, this.Property.PropertyType));
 }