Stores ReverseBindings, keyed by their target object and target property name.
There is no reliable way to have RibbonItems and RibbonPanels own ReverseBindings, so we use a Dictionary here to manage this ownership and association. This keeps ReverseBindings from being cleaned up inadvertently, and allows us to retrieve existing bindings and ContextQueries.
Public Member Functions |
|
void | ReleaseBindings () |
ReverseBinding[] | FindByTarget (Object target) |
ReverseBinding | FetchBinding (Object target, String targetProperty) |
void | StoreBinding (ReverseBinding binding) |
void | RemoveBinding (Object target, String targetProperty) |
void | RemoveBinding (ReverseBinding binding) |
void | RemoveAllBindings (Object target) |
Properties |
|
ICollection< ReverseBinding > |
Bindings [get] |
void WPFCustomControls::ReverseBindingStorage::ReleaseBindings | ( | ) | [inline] |
ReverseBinding [] WPFCustomControls::ReverseBindingStorage::FindByTarget | ( | Object | target | ) | [inline] |
ReverseBinding WPFCustomControls::ReverseBindingStorage::FetchBinding | ( | Object | target, |
String | targetProperty | ||
) | [inline] |
void WPFCustomControls::ReverseBindingStorage::StoreBinding | ( | ReverseBinding | binding | ) | [inline] |
void WPFCustomControls::ReverseBindingStorage::RemoveBinding | ( | Object | target, |
String | targetProperty | ||
) | [inline] |
void WPFCustomControls::ReverseBindingStorage::RemoveBinding | ( | ReverseBinding | binding | ) | [inline] |
void WPFCustomControls::ReverseBindingStorage::RemoveAllBindings | ( | Object | target | ) | [inline] |
ICollection<ReverseBinding>
WPFCustomControls::ReverseBindingStorage::Bindings
[get] |