ExtensionMethods Class

 

Microsoft internal use only.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

System.Object
  Microsoft.VisualStudio.PlatformUI.ExtensionMethods

public static class ExtensionMethods

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAcquireWin32Focus(DependencyObject, IntPtr)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticAddPropertyChangeHandler<T>(T, DependencyProperty, EventHandler)

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

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

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

System_CAPS_pubmethodSystem_CAPS_staticCopyTo(Stream, Stream)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticFindAncestor<TElementType>(TElementType, Func<TElementType, TElementType>, Func<TElementType, Boolean>)

System_CAPS_pubmethodSystem_CAPS_staticFindAncestor<TAncestorType>(Visual)

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

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

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticFindAncestorOrSelf<TElementType>(TElementType, Func<TElementType, TElementType>, Func<TElementType, Boolean>)

System_CAPS_pubmethodSystem_CAPS_staticFindAncestorOrSelf<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.

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

System_CAPS_pubmethodSystem_CAPS_staticFindCommonAncestor(DependencyObject, DependencyObject)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticFindCommonAncestor<T>(T, T, Func<T, T>)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticFindDescendant(DependencyObject, Predicate<DependencyObject>)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticFindDescendant<T>(DependencyObject)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticFindDescendantReverse<T>(DependencyObject)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticFindDescendants<T>(DependencyObject)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticFindDescendantsReverse<T>(DependencyObject)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticGetDoubleAttribute(XmlReader, String, Double)

System_CAPS_pubmethodSystem_CAPS_staticGetGuidAttribute(XmlReader, String)

System_CAPS_pubmethodSystem_CAPS_staticGetIntAttribute(XmlReader, String, Int32)

System_CAPS_pubmethodSystem_CAPS_staticGetValueIfCreated<T>(Lazy<T>)

System_CAPS_pubmethodSystem_CAPS_staticGetVisualOrLogicalParent(DependencyObject)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticIsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType, TElementType>)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticIsClipped(UIElement)

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

System_CAPS_pubmethodSystem_CAPS_staticIsConnectedToPresentationSource(DependencyObject)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticIsCritical(Exception)

System_CAPS_pubmethodSystem_CAPS_staticIsLogicalAncestorOf(DependencyObject, DependencyObject)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticIsNearlyEqual(Double, Double)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticIsSignificantlyGreaterThan(Double, Double)

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

System_CAPS_pubmethodSystem_CAPS_staticIsSignificantlyLessThan(Double, Double)

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

System_CAPS_pubmethodSystem_CAPS_staticIsTextTrimmed(TextBlock)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticIsTopmost(IntPtr)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticIsTrimmed(UIElement)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticRaiseEvent(CancelEventHandler, Object, CancelEventArgs)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticRaiseEvent(EventHandler, Object)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticRaiseEvent(EventHandler, Object, EventArgs)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticRaiseEvent(EventHandler<DependencyPropertyChangedEventArgs>, Object, DependencyPropertyChangedEventArgs)

System_CAPS_pubmethodSystem_CAPS_staticRaiseEvent(NotifyCollectionChangedEventHandler, Object, NotifyCollectionChangedEventArgs)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticRaiseEvent(PropertyChangedEventHandler, Object, PropertyChangedEventArgs)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticRaiseEvent(PropertyChangedEventHandler, Object, String)

System_CAPS_pubmethodSystem_CAPS_staticRaiseEvent(PropertyChangingEventHandler, Object, PropertyChangingEventArgs)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticRaiseEvent(PropertyChangingEventHandler, Object, String)

System_CAPS_pubmethodSystem_CAPS_staticRaiseEvent<TEventArgs>(EventHandler<TEventArgs>, Object, TEventArgs)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticRaiseEventAsync<T>(Delegate, Object, T)

System_CAPS_pubmethodSystem_CAPS_staticRemovePropertyChangeHandler<T>(T, DependencyProperty, EventHandler)

Microsoft internal use only.

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

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticThrowIfNullOrEmpty(String, String)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticToArgb(Color)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticToColorFromArgb(UInt32)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticToColorFromRgba(UInt32)

Microsoft internal use only.

System_CAPS_pubmethodSystem_CAPS_staticToDimensionString(Size)

System_CAPS_pubmethodSystem_CAPS_staticToLowercaseString(Color)

System_CAPS_pubmethodSystem_CAPS_staticToLowercaseString(Nullable<Color>)

System_CAPS_pubmethodSystem_CAPS_staticToRgba(Color)

Microsoft internal use only.

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

Microsoft internal use only.

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

Microsoft internal use only.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: