ExtensionMethods Class

Definition

Microsoft internal use only.

public ref class ExtensionMethods abstract sealed
public ref class ExtensionMethods abstract sealed
class ExtensionMethods abstract sealed
public static class ExtensionMethods
type ExtensionMethods = class
Public Module ExtensionMethods
Inheritance
ExtensionMethods

Methods

AcquireWin32Focus(DependencyObject, IntPtr)

Microsoft internal use only.

AddPropertyChangeHandler<T>(T, DependencyProperty, EventHandler)

Adds a handler that is called when property changes on instance.

AddPropertyChangeHandler<T>(T, DependencyProperty, EventHandler, Type)

Adds a handler that is called when property changes on instance.

CopyTo(Stream, Stream)

Microsoft internal use only.

FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestor<TAncestorType>(Visual)

Finds the first ancestor of a given type in the logical or visual tree.

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
FindAncestorOrSelf<TAncestorType>(Visual)

Finds the first ancestor of a given type in the logical or visual tree, or the object itself if it matches in type.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindCommonAncestor(DependencyObject, DependencyObject)

Microsoft internal use only.

FindCommonAncestor<T>(T, T, Func<T,T>)

Microsoft internal use only.

FindDescendant(DependencyObject, Predicate<DependencyObject>)

Microsoft internal use only.

FindDescendant<T>(DependencyObject)

Microsoft internal use only.

FindDescendantReverse<T>(DependencyObject)

Microsoft internal use only.

FindDescendants<T>(DependencyObject)

Microsoft internal use only.

FindDescendantsReverse<T>(DependencyObject)

Microsoft internal use only.

GetDoubleAttribute(XmlReader, String, Double)
GetGuidAttribute(XmlReader, String)
GetIntAttribute(XmlReader, String, Int32)
GetValueIfCreated<T>(Lazy<T>)
GetVisualOrLogicalParent(DependencyObject)

Microsoft internal use only.

IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

IsClipped(UIElement)

Determines whether the element's text is clipped by a parent ScrollViewer (the element can still be scrolled to view the clipped text)

IsConnectedToPresentationSource(DependencyObject)

Microsoft internal use only.

IsCritical(Exception)
IsLogicalAncestorOf(DependencyObject, DependencyObject)

Microsoft internal use only.

IsNearlyEqual(Double, Double)

Microsoft internal use only.

IsSignificantlyGreaterThan(Double, Double)

Determines whether the first value is significantly greater than the second value.

IsSignificantlyLessThan(Double, Double)

Determines whether the first value is significantly less than the second value.

IsTextTrimmed(TextBlock)

Microsoft internal use only.

IsTopmost(IntPtr)

Microsoft internal use only.

IsTrimmed(UIElement)

Microsoft internal use only.

RaiseEvent(CancelEventHandler, Object, CancelEventArgs)

Microsoft internal use only.

RaiseEvent(EventHandler, Object)

Microsoft internal use only.

RaiseEvent(EventHandler, Object, EventArgs)

Microsoft internal use only.

RaiseEvent(EventHandler<DependencyPropertyChangedEventArgs>, Object, DependencyPropertyChangedEventArgs)
RaiseEvent(NotifyCollectionChangedEventHandler, Object, NotifyCollectionChangedEventArgs)

Microsoft internal use only.

RaiseEvent(PropertyChangedEventHandler, Object, PropertyChangedEventArgs)

Microsoft internal use only.

RaiseEvent(PropertyChangedEventHandler, Object, String)
RaiseEvent(PropertyChangingEventHandler, Object, PropertyChangingEventArgs)

Microsoft internal use only.

RaiseEvent(PropertyChangingEventHandler, Object, String)
RaiseEvent<TEventArgs>(EventHandler<TEventArgs>, Object, TEventArgs)

Microsoft internal use only.

RaiseEventAsync<T>(Delegate, Object, T)
RemovePropertyChangeHandler<T>(T, DependencyProperty, EventHandler)

Microsoft internal use only.

RemovePropertyChangeHandler<T>(T, DependencyProperty, EventHandler, Type)

Microsoft internal use only.

ThrowIfNullOrEmpty(String, String)

Microsoft internal use only.

ToArgb(Color)

Microsoft internal use only.

ToColorFromArgb(UInt32)

Microsoft internal use only.

ToColorFromRgba(UInt32)

Microsoft internal use only.

ToDimensionString(Size)
ToLowercaseString(Color)
ToLowercaseString(Nullable<Color>)
ToRgba(Color)

Microsoft internal use only.

TraverseVisualTree<T>(DependencyObject, Action<T>)

Microsoft internal use only.

TraverseVisualTreeReverse<T>(DependencyObject, Action<T>)

Microsoft internal use only.

Applies to