WpfUtil 类

继承层次结构

System.Object
  Microsoft.TeamFoundation.Controls.WPF.WpfUtil

命名空间:  Microsoft.TeamFoundation.Controls.WPF
程序集:  Microsoft.TeamFoundation.Controls(在 Microsoft.TeamFoundation.Controls.dll 中)

语法

声明
<ExtensionAttribute> _
Public NotInheritable Class WpfUtil
public static class WpfUtil

WpfUtil 类型公开以下成员。

属性

  名称 说明
公共属性静态成员 SharedResources

页首

方法

  名称 说明
公共方法静态成员 AdjustToClientRect
公共方法静态成员 BindProperty(FrameworkElement, DependencyProperty, String, BindingMode)
公共方法静态成员 BindProperty(FrameworkElement, DependencyProperty, FrameworkElement, String)
公共方法静态成员 BindWidthToParentScrollViewer
公共方法静态成员 CanExecuteCommandSource
公共方法静态成员 CombineColors
公共方法静态成员 ComputeContextMenuPositionForControl
公共方法静态成员 ConvertColor(Color)
公共方法静态成员 ConvertColor(Color)
公共方法静态成员 EnforceGridViewColumnHeaderMinWidth
公共方法静态成员 EscapeAccessCharacter
公共方法静态成员 ExecuteCommandSource
公共方法静态成员 FindVisualChild<T>
公共方法静态成员 FindVisualParent(Type, UIElement, Type)
公共方法静态成员 FindVisualParent<T>(UIElement, Type)
公共方法静态成员 FocusLater(UIElement)
公共方法静态成员 FocusLater(UIElement, DispatcherPriority)
公共方法静态成员 GetClickedItem
公共方法静态成员 GetHandleForVisual
公共方法静态成员 GetImageSourceFromBitmap
公共方法静态成员 GetImageSourceFromResource
公共方法静态成员 GetText
公共方法静态成员 GetTreeViewItem
公共方法静态成员 GetWin32WindowForVisual
公共方法静态成员 GridSetCell(FrameworkElement, Int32, Int32)
公共方法静态成员 GridSetCell(FrameworkElement, Int32, Int32, Int32, Int32)
公共方法静态成员 HandleContextMenuDispatch
公共方法静态成员 LaunchHyperlink(String)
公共方法静态成员 LaunchHyperlink(Hyperlink)
公共方法静态成员 ListViewSetSortDirectionTriangle
公共方法静态成员 ListViewSort
公共方法静态成员 MeasureText
公共方法静态成员 MergeSharedResources
公共方法静态成员 SelectDefaultItem
公共方法静态成员 SelectListViewItem
公共方法静态成员 SetAutomationHelpText
公共方法静态成员 SetNameAndAutomationId
公共方法静态成员 SetText
公共方法静态成员 SetTooltipIfNecessary
公共方法静态成员 SetXY
公共方法静态成员 StretchFill
公共方法静态成员 StretchLeftRight
公共方法静态成员 StretchTopBottom
公共方法静态成员 ToWinForms

页首

字段

  名称 说明
公共字段静态成员 MaxSize
公共字段静态成员 ToolTipInitialShowDelay
公共字段静态成员 ToolTipShowDuration

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.TeamFoundation.Controls.WPF 命名空间