Table of Contents

Class ExtensionMethods

Namespace
Innova.Prism.Library.ExtensionMethods
Assembly
Innova.Prism.Library.dll
public static class ExtensionMethods
Inheritance
ExtensionMethods

Methods

AddIfNotExists<T>(IList<T>, T)
AddToken(SubscriptionToken, List<SubscriptionToken>)
ApplyGestures(ObservableCollection<MenuModel>, Key)

Applies a MultiKeyGesture to each of the MenuTaskDefinitions, based on the Headertext and the GroupKey.

ApplyToQueryParameter<T>(Paging, QueryParameter<T>)
AsBindingList<T>(IEnumerable<T>)
ChangeBindingUpdateSourceTrigger(Control, DependencyProperty, UpdateSourceTrigger)
ContainsKey(IDictionary<string, object>, string)
ContainsKey<T>(IDictionary<string, object>, Expression<Func<T, object>>)
ContainsRegionContextKey(IRegion, string)
Count(IEnumerable)
EncodeJsString(string)
FadeIn(UIElement)
FadeIn(UIElement, Duration)
FadeOut(UIElement, double, Action)
FadeOut(UIElement, Duration, Action)
FindChild<T>(DependencyObject, string, string)

Finds a Child of a given item in the visual tree.

FindFirstVisualChild<T>(DependencyObject)
FindParent<T>(DependencyObject)
FindParent<T, TopType>(DependencyObject)

Finds the parent.

FindVisualChildren<T>(DependencyObject)
FormatRect(Rect)
FormatToString(Rect, string)
GetBindingCopy(Control, DependencyProperty)
GetIntValue<T>(IDictionary<string, object>, Expression<Func<T, object>>)
GetRegionContextValue(IRegion, string)
GetRegionContextValue<T>(IRegion, string)
GetStringValue(DataColumn, DataRow)
GetStringValue(DataRow, DataColumn)
GetValue<T>(IDictionary<string, object>, Expression<Func<T, object>>)
InsertSorted(IList, ISortOrder)
IsChildElementVisible(FrameworkElement, FrameworkElement)
IsElementVisibleInParent(FrameworkElement, FrameworkElement)
IsFileLocked(FileInfo)
IsTypeActive<T>(IRegion)
PublishEvent<T>(IEventAggregator, object)
PublishEvent<EventType, PayLoadType>(IEventAggregator, PayLoadType)
PublishNull(PubSubEvent<EventData>)
PublishNull(PubSubEvent<object>)
PublishNullPayload<EventyType>(IEventAggregator)
PublishNullSelectedEvent(IEventAggregator, Type)
PublishNull<T>(PubSubEvent<ListViewData<T>>)
PublishSelectedEvent<EntityType>(IEventAggregator, PrimaryKeys<EntityType>)
Publish<T>(PubSubEvent<ListViewData<T>>, string, object)
Publish<EvtData>(PubSubEvent<EvtData>, string, object)
RemoveValueFromRegionContext(IRegion, string)
SetIsActiveOnChildren(DependencyObject)

Sets the IsActive on children.

SetRegionContextValue(IRegion, string, object, bool)
SetValue<T>(IDictionary<string, object>, Expression<Func<T, object>>, object)
Shake(UIElement)
Shake(Window)
Skip(IEnumerable, int)
Take(IEnumerable, int)
ToImageSource(Bitmap)
ToNavigationParameters(EventData)
ToNavigationParameters<T>(ListViewData<T>)
ToObservableCollection<T>(IEnumerable<T>)
ToReadOnlyObservableCollection<T>(IEnumerable<T>)
UnSubscribeAll(List<SubscriptionToken>)