Table of Contents

Class ExtensionMethods

Namespace
Alternet.FormDesigner.Wpf
Assembly
Alternet.FormDesigner.Wpf.v10.dll
public static class ExtensionMethods
Inheritance
ExtensionMethods

Methods

AddCommandHandler(UIElement, ICommand, Action)
AddCommandHandler(UIElement, ICommand, Action, Func<bool>)
AddRange<T>(ICollection<T>, IEnumerable<T>)
Coerce(double, double, double)
GetVisualAncestors(DependencyObject)

Gets all ancestors in the visual tree (including visual itself). Returns an empty list if visual is null or not a visual.