共用方式為


VsResourceKeys Class

Exposes Windows Presentation Foundation (WPF) resource keys for Style and ControlTemplate values that apply to common WPF controls.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.VsResourceKeys

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public NotInheritable Class VsResourceKeys
public static class VsResourceKeys

The VsResourceKeys type exposes the following members.

Properties

  Name Description
Public propertyStatic member CustomGridViewScrollViewerStyleKey
Public propertyStatic member LargeToolTipStyleKey
Public propertyStatic member ProgressBarStyleKey Gets the key that can be used at runtime to dynamically bind to a Style for a ProgressBar.
Public propertyStatic member ProgressBarTemplateKey Gets the key that can be used at runtime to dynamically bind to a ControlTemplate for a ProgressBar.
Public propertyStatic member ScrollBarStyleKey
Public propertyStatic member ScrollViewerStyleKey
Public propertyStatic member UnthemedGridViewScrollViewerStyleKey
Public propertyStatic member UnthemedScrollBarStyleKey
Public propertyStatic member UnthemedScrollViewerStyleKey

Top

Methods

  Name Description
Public methodStatic member GetGridViewScrollViewerStyleKey
Public methodStatic member GetScrollBarStyleKey
Public methodStatic member GetScrollViewerStyleKey

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Shell Namespace