共用方式為


Microsoft.VisualStudio.PlatformUI Namespace

Classes

  Class Description
Public class AccessKeyConverter
Public class AccessKeyRemovingConverter
Public class AccessKeyUnderliningConverter
Public class AndBooleanConverter
Public class AreEqualConverter
Public class BindableHyperlink A version of a Hyperlink that supports data binding via its Content dependency property.
Public class BindableRun A version of a Run that supports data binding via its Content dependency property. Run itself doesn't support data binding directly because its Text property isn't a dependency property.
Public class BindableValidationRule
Public class BooleanToFlowDirectionConverter Converter from a boolean value to a FlowDirection constant. This value is stored in the Main window's data source as a boolean, if it is true it indicates that layout should be Right to Left, and if it is false layout should be Left to Right.
Public class BooleanToHiddenVisibilityConverter Converter from a boolean value to a Visibility constant. Unlike BooleanToVisibilityConverter, this converter maps false to Hidden instead of Collapsed.
Public class ColorBrushValueConverter
Public class DataSourceToEnumerableDataSourceConverter
Public class DeviceToLogicalPixelConverter Converts a device pixel component (x, y) to logical component for the specified axis (use HorizontalAxis for x, VerticalAxis for y value).
Public class DialogButton Button class to be used for buttons displayed in Visual Studio WPF dialogs The style applied to this button defines common properties (min size, padding, margin)
Public class DialogWindow Dialog class to be used as base class for Visual Studio WPF dialogs (non-Gel) Someone implementing a WPF dialog should derive from this class (to have consistent styling with other VS dialogs, and help support) To display the dialog invoke the ShowModal() function, and that will take care of correctly parenting the dialog in the shell, enabling modal state for the shell while the dialog is displayed, etc.
Public class DialogWindowBase Base class for WPF dialogs in Visual Studio 10 and later. The class provides consistent styling and caption buttons with other dialogs in VisualStudio.
Public class DisposableObject
Public class DpiHelper
Public class DragDropHelper Helper class for hooking up Drag and Drop operations with a specific drop target If no drop target is specified, the shell's main window drop target will be used by default, which allows handling file drop operations over the shell main's window
Public class EnvironmentRenderCapabilities Encapsulates visual effects options for the environment. These options determine which types of visual effects should be used based on the current rendering capabilities. This is based on a combination of user settings and WPF's RenderCapabilities.Tier
Public class ExtensionMethods
Public class FailIfEmptyAccessKeyRemovingConverter
Public class FontScaling Class used to attach a pre-scaled font size to an element. This is necessary if you want to apply a conversion (such as scaling) to the font size when the font size is coming from a dynamic resource, since {DynamicResource} does not allow for a converter to be applied to the value.
Public class GrayscaleImageConverter Converts a Gel image BitmapSource into a grayscale version of the same image as an Image.
Public class HelperMethods
Public class HoursToTimeSpanConverter
Public class IfElseConverter Converter from a boolean value to one of the two provided values of any type. Analogous to ternary ?: operator in C#.
Public class ImageButton
Public class ImageCheckBox
Public class ImageConverter Converts an ImageSource into an Image.
Public class ImageListValueConverter Converts the given image list and an index in it into ImageSource.
Public class IsEqualConverter
Public class LayoutSynchronizedContentControl A ContentControl which will layout synchronously if the content is changed and the LayoutSynchronizer is active. This is used to ensure that critical codepaths which demand a measured and arranged element receive one when the content of the control changes.
Public class LayoutSynchronizedItemsControl An ItemsControl which will layout synchronously if the items are changed and the LayoutSynchronizer is active. This is used to ensure that critical codepaths which demand a measured and arranged element receive one when the items in the control changes.
Public class LayoutSynchronizedTabControl A TabControl which will layout synchronously if the content is changed and the LayoutSynchronizer is active. This is used to ensure that critical codepaths which demand a measured and arranged element receive one when the items or selected item of the control changes.
Public class LayoutSynchronizedWindow A Window which will layout synchronously if the content is changed and the LayoutSynchronizer is active. This is used to ensure that critical codepaths which demand a measured and arranged element receive one when the content of the window changes.
Public class LayoutSynchronizer Class which helps ensure that layout happens synchronously based on data model changes. While inside a layout-synchronization scope, calling Update will ensure that the updated element will be laid out synchronously. Participating controls should call LayoutSynchronizer.Update when their data model changes.
Public class MillisecondsToTimeSpanConverter
Public class MinutesToTimeSpanConverter
Public class MruListDataSourceSchema
Public class MultiplicationConverter
Public class MultiValueConverter<TSource1, TSource2, TTarget>
Public class MultiValueConverter<TSource1, TSource2, TSource3, TTarget>
Public class MultiValueConverter<TSource1, TSource2, TSource3, TSource4, TTarget>
Public class MultiValueConverter<TSource1, TSource2, TSource3, TSource4, TSource5, TTarget>
Public class NegateBooleanConverter
Public class NotNullConverter
Public class OrBooleanConverter
Public class RangeValidationRule
Public class RssDataSourceSchema
Public class SafeIUnknown Resource management class intended to release native interfaces, such as those returned from Marshal.GetIUnknownForObject or Marshal.GetIDispatchForObject.
Public class SecondsToTimeSpanConverter
Public class SingleElementToEnumerableConverter<T>
Public class SplitterGrip Splitter used in between SplitterItems in a SplitterPanel.
Public class SplitterItem Container item for a SplitterItemsControl. See SplitterItemsControl for more information.
Public class SplitterItemsControl An ItemsControl that has an Orientation and which is meant to be used in conjunction with a SplitterPanel.
Public class SplitterLengthConverter
Public class SplitterMeasureData Class which stores data used during measuring of items in a SplitterPanel.
Public class SplitterPanel Represents an oriented panel of items that are stacked, but sized to fit on the screen.
Public class SplitterResizePreviewWindow Control used to show the resize preview for a SplitterPanel.
Public class StartPageDataSourceSchema
Public class StartPageGuidList
Public class StringConcatenatingConverter
Public class StringToStringWithoutHypertextTagsConverter
Public class StringToXmlDataProviderConverter
Public class StyleKey<T> Simple derivation of ResourceKey, templated to allow the overridden Assembly property to return the correct assembly based on typeof(T).
Public class SystemDropShadowChrome
Public class ValueConverter<TSource, TTarget>
Public class VisibleIfNotNullConverter
Public class VisualTargetPresentationSource This class is used to provide the surface to the Visual of the worker threaded UI.
Public class VsUIDialogWindow Dialog class to be used as base class for Visual Studio dialogs used with IVsUIDataSources
Public class WeakCollection<T>
Public class WindowStateConverter
Public class WindowStyleHelper
Public class WorkerThreadElementContainer This class is used to connect the UI elements in worker threads to Main Window.

Structures

  Structure Description
Public structure SplitterLength Length unit similar to GridLength. Lengths of type Stretch use a desired amount of space (in device units) equal to their Value, but stretch to fit the parent control if there are no Fill elements. Fill elements use space remaining after Stretch elements are allocated space, maintaining ratios of values between elements.

Enumerations

  Enumeration Description
Public enumeration SplitterUnitType