static private Lookup ( Kind declaring_kind, string name ) : |
||
declaring_kind | Kind | |
name | string | |
return |
internal static DependencyProperty Lookup(Kind declaring_kind, string name)
{
return Lookup (declaring_kind, name, null, false);
}
DependencyProperty::Lookup ( IntPtr native ) : |
|
DependencyProperty::Lookup ( Kind declaring_kind, string name, Type property_type ) : |
|
DependencyProperty::Lookup ( Kind declaring_kind, string name, Type property_type, bool create ) : |
internal DependencyPropertyChangedEventArgs(IntPtr raw) : this() { IntPtr uprop = NativeMethods.property_changed_event_args_get_property(raw); Property = DependencyProperty.Lookup(uprop); if (Property == null) { throw new Exception(string.Format("DependencyPropertyChangedEventArgs.ctor: Couldn't find the managed DependencyProperty corresponding with native {0}/{1}", uprop, NativeMethods.property_changed_event_args_get_id(raw))); } OldValue = Value.ToObject(Property.PropertyType, NativeMethods.property_changed_event_args_get_old_value(raw)); NewValue = Value.ToObject(Property.PropertyType, NativeMethods.property_changed_event_args_get_new_value(raw)); }