System.Windows 命名空間

提供幾個重要的 Windows Presentation Foundation (WPF) 基底項目類別、各種支援 WPF 屬性系統和事件邏輯的類別,以及 WPF 核心和架構更廣泛使用的其他類型。 Provides several important Windows Presentation Foundation (WPF) base element classes, various classes that support the WPF property system and event logic, and other types that are more broadly consumed by the WPF core and framework.

類別

Application

封裝 Windows Presentation Foundation 應用程式。Encapsulates a Windows Presentation Foundation application.

AttachedPropertyBrowsableAttribute

提供報告附加屬性使用範圍之 .NET Framework 屬性的基底類別。Provides a base class for .NET Framework attributes that report the use scope of attached properties.

AttachedPropertyBrowsableForChildrenAttribute

指定附加屬性具有延伸至邏輯樹狀結構中子項目的可瀏覽範圍。Specifies that an attached property has a browsable scope that extends to child elements in the logical tree.

AttachedPropertyBrowsableForTypeAttribute

指定附加屬性僅供衍生自指定類型的項目瀏覽。Specifies that an attached property is browsable only for elements that derive from a specified type.

AttachedPropertyBrowsableWhenAttributePresentAttribute

指定只能瀏覽在其類別定義上套用了另一個特定 .NET Framework 屬性的項目上的附加屬性。Specifies that an attached property is only browsable on an element that also has another specific .NET Framework attribute applied to its class definition.

AutoResizedEventArgs

提供 AutoResized 引發之 HwndSource 事件的資料。Provides data for the AutoResized event raised by HwndSource.

BaseCompatibilityPreferences

包含指定應用程式相對於 WindowsBase 組件中新的 WPF 功能應如何表現的屬性。Contains properties that specify how an application should behave relative to new WPF features that are in the WindowsBase assembly.

Clipboard

提供利於將資料傳入和傳出系統剪貼簿的靜態方法。Provides static methods that facilitate transferring data to and from the system Clipboard.

ColorConvertedBitmapExtension

實作啟用 ColorConvertedBitmap 建立的標記延伸。Implements a markup extension that enables ColorConvertedBitmap creation. ColorConvertedBitmap 沒有內嵌設定檔,設定檔是以來源和目的值為根據。A ColorConvertedBitmap does not have an embedded profile, the profile instead being based on source and destination values.

ComponentResourceKey

基於外部組件 (Assembly) 中的類別 (Class) 名稱與其他識別項定義或參照資源索引鍵。Defines or references resource keys based on class names in external assemblies, as well as an additional identifier.

Condition

表示 MultiTriggerMultiDataTrigger 的條件,會根據一組條件套用變更至屬性值。Represents a condition for the MultiTrigger and the MultiDataTrigger, which apply changes to property values based on a set of conditions.

ConditionCollection

表示 Condition 物件的集合。Represents a collection of Condition objects.

ContentElement

提供內容項目的 WPF 核心層級基底類別。Provides a WPF core-level base class for content elements. 內容項目是專為流程樣式表示所設計,其使用直覺式標記導向配置模型以及刻意保持簡單的物件模型。Content elements are designed for flow-style presentation, using an intuitive markup-oriented layout model and a deliberately simple object model.

ContentOperations

提供靜態公用程式方法,以取得項目樹狀結構中 ContentElement 的位置。Provides static utility methods for getting or setting the position of a ContentElement in an element tree.

CoreCompatibilityPreferences

包含屬性,指定應用程式相對於 PresentationCore 組件中的 WPF 功能應如何運作。Contains properties that specify how an application should behave relative to WPF features that are in the PresentationCore assembly.

CornerRadiusConverter

在其他型別的執行個體和 CornerRadius 之間來回轉換。Converts instances of other types to and from a CornerRadius.

CultureInfoIetfLanguageTagConverter

CultureInfo 的執行個體與其他資料型別來回轉換。Converts instances of CultureInfo to and from other data types.

DataFormat

表示使用格式名稱和數值 ID 的資料格式。Represents a data format by using a format name and numeric ID.

DataFormats

提供一組預先定義的資料格式名稱,這些名稱可用以識別剪貼簿或拖放作業中可用的資料格式。Provides a set of predefined data format names that can be used to identify data formats available in the clipboard or drag-and-drop operations.

DataObject

提供 IDataObject 介面的基本實作,以定義不受格式影響的資料傳輸機制。Provides a basic implementation of the IDataObject interface, which defines a format-independent mechanism for transferring data.

DataObjectCopyingEventArgs

DataObject.CopyingArguments for the DataObject.Copying 事件的引數。event.

DataObjectEventArgs

為與 DataObject 類別 (Class) 相關聯的事件提供抽象基底類別 (Base Class)。Provides an abstract base class for events associated with the DataObject class.

DataObjectPastingEventArgs

包含 DataObject.PastingContains arguments for the DataObject.Pasting 事件的引數。event.

DataObjectSettingDataEventArgs

包含 DataObject.SettingDataContains arguments for the DataObject.SettingData 事件的引數。event.

DataTemplate

說明資料物件的視覺化結構。Describes the visual structure of a data object.

DataTemplateKey

代表 DataTemplate 類別的資源索引鍵。Represents the resource key for the DataTemplate class.

DataTrigger

表示觸發程序 (Trigger),這個觸發程序會在繫結資料符合特定條件時套用屬性值或執行動作。Represents a trigger that applies property values or performs actions when the bound data meets a specified condition.

DeferrableContent

表示 BAML 內以資料流保存的可延後的內容。Represents deferrable content that is held within BAML as a stream.

DeferrableContentConverter

將資料流轉換為 DeferrableContent 執行個體。Converts a stream to a DeferrableContent instance.

DependencyObject

代表參與相依性屬性系統的物件。Represents an object that participates in the dependency property system.

DependencyObjectType

實作針對所有 DependencyObject 衍生型別 (Derived Type) 的基礎型別快取。Implements an underlying type cache for all DependencyObject derived types.

DependencyProperty

代表可以透過方法設定的屬性,例如樣式、資料繫結、動畫和繼承。Represents a property that can be set through methods such as, styling, data binding, animation, and inheritance.

DependencyPropertyHelper

提供單一 Helper 方法 (GetValueSource(DependencyObject, DependencyProperty)),這個方法會報告相依性屬性之有效值的屬性系統來源。Provides a single helper method (GetValueSource(DependencyObject, DependencyProperty)) that reports the property system source for the effective value of a dependency property.

DependencyPropertyKey

為唯讀相依性屬性的有限寫入權限提供相依性屬性識別項。Provides a dependency property identifier for limited write access to a read-only dependency property.

DialogResultConverter

與其他型別互相轉換 DialogResult 屬性,此屬性為型別 Nullable<T>Boolean 值。Converts the DialogResult property, which is a Nullable<T> value of type Boolean, to and from other types.

DpiChangedEventArgs

這個類別會將所需的資訊傳遞給 DpiChangedEvent 事件的所有接聽程式,例如,當視窗移至不同 DPI 的監視器時,或者目前監視器的 DPI 變更時。This class passes necessary information to any listener of the DpiChangedEvent event, such as when a window is moved to a monitor with different DPI, or the DPI of the current monitor changes.

DragDrop

提供用以啟始拖放作業的 Helper 方法與欄位,包括開始拖放作業的方法,以及用以加入及移除拖放相關事件處理常式的機能。Provides helper methods and fields for initiating drag-and-drop operations, including a method to begin a drag-and-drop operation, and facilities for adding and removing drag-and-drop related event handlers.

DragEventArgs

包含與所有拖放事件 (DragEnterDragLeaveDragOverDrop) 相關的引數。Contains arguments relevant to all drag-and-drop events (DragEnter, DragLeave, DragOver, and Drop).

DurationConverter

Duration 的執行個體與其他型別表示來回轉換。Converts instances of Duration to and from other type representations.

DynamicResourceExtension

實作標記延伸,這個標記延伸支援從 XAML 進行的動態資源參考。Implements a markup extension that supports dynamic resource references made from XAML.

DynamicResourceExtensionConverter

將已剖析的 XAML 轉換為 DynamicResourceExtension,並支援從 XAML 進行的動態資源參考。Converts from parsed XAML to DynamicResourceExtension and supports dynamic resource references made from XAML.

EventManager

提供事件相關公用程式方法,該方法可為類別擁有者註冊路由事件並加入類別處理常式。Provides event-related utility methods that register routed events for class owners and add class handlers.

EventPrivateKey

提供唯一的識別給其處理常式已儲存至內部 Hashtable 的事件。Provides unique identification for events whose handlers are stored into an internal hashtable.

EventRoute

表示接在路由事件後面之路由的容器。Represents the container for the route to be followed by a routed event.

EventSetter

表示樣式中的事件 Setter。Represents an event setter in a style. 事件 Setter 會叫用指定的事件處理常式以回應事件。Event setters invoke the specified event handlers in response to events.

EventTrigger

代表套用一組動作以回應事件的觸發程序。Represents a trigger that applies a set of actions in response to an event.

ExceptionRoutedEventArgs

提供 ImageMediaElement 失敗事件的資料。Provides data for the Image and MediaElement failed events.

ExitEventArgs

Exit 事件的事件引數。Event arguments for the Exit event.

Expression

這個類型支援 Windows Presentation Foundation (WPF) 基礎結構,但並不適合直接透過您的程式碼使用。This type supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

ExpressionConverter

Expression 執行個體 (Instance) 來回轉換成其他型別。Converts instances of Expression to and from other types.

FigureLengthConverter

在其他型別的執行個體和 FigureLength 之間來回轉換。Converts instances of other types to and from a FigureLength.

FontSizeConverter

將字型大小值與其他型別表示來回轉換。Converts font size values to and from other type representations.

FontStretchConverter

FontStretch 的執行個體與其他型別表示來回轉換。Converts instances of FontStretch to and from other type representations.

FontStretches

提供一組靜態的預先定義 FontStretch 值。Provides a set of static predefined FontStretch values.

FontStyleConverter

FontStyle 的執行個體與其他資料型別來回轉換。Converts instances of FontStyle to and from other data types.

FontStyles

提供一組靜態的預先定義 FontStyle 值。Provides a set of static predefined FontStyle values.

FontWeightConverter

FontWeight 的執行個體與其他資料型別來回轉換。Converts instances of FontWeight to and from other data types.

FontWeights

提供一組靜態的預先定義 FontWeight 值。Provides a set of static predefined FontWeight values.

FrameworkCompatibilityPreferences

包含屬性,指定應用程式相對於 PresentationFramework 組件中的 WPF 功能應如何運作。Contains properties that specify how an application should behave relative to WPF features that are in the PresentationFramework assembly.

FrameworkContentElement

FrameworkContentElement 是 WPF 架構層級實作和 ContentElement 基底類別的擴充。FrameworkContentElement is the WPF framework-level implementation and expansion of the ContentElement base class. FrameworkContentElement 新增對其他輸入 API (包括工具提示和操作功能表)、腳本、資料繫結程序的資料內容、樣式,以及邏輯樹狀結構協助程式 API 的支援。FrameworkContentElement adds support for additional input APIs (including tooltips and context menus), storyboards, data context for data binding, styles support, and logical tree helper APIs.

FrameworkElement

為 Windows Presentation Foundation (WPF) 項目提供一組 WPF 架構層級的屬性、事件和方法。Provides a WPF framework-level set of properties, events, and methods for Windows Presentation Foundation (WPF) elements. 這個類別代表所提供的 WPF 架構層級實作,此實作建置在由 UIElement 所定義的 WPF 核心層級 API 之上。This class represents the provided WPF framework-level implementation that is built on the WPF core-level APIs that are defined by UIElement.

FrameworkElementFactory

支援建立範本。Supports the creation of templates.

FrameworkPropertyMetadata

為相依性屬性回報或套用中繼資料,特別加入架構專屬的屬性系統特性。Reports or applies metadata for a dependency property, specifically adding framework-specific property system characteristics.

FrameworkTemplate

啟用 FrameworkElement 和/或 FrameworkContentElement 物件之樹狀目錄的具現化 (Instantiation)。Enables the instantiation of a tree of FrameworkElement and/or FrameworkContentElement objects.

Freezable

定義具有可修改狀態和唯讀 (凍結) 狀態的物件。Defines an object that has a modifiable state and a read-only (frozen) state. 衍生自 Freezable 的類別可以提供詳細變更告知、可以設為不變的,而且可以自我複製。Classes that derive from Freezable provide detailed change notification, can be made immutable, and can clone themselves.

FreezableCollection<T>

代表 DependencyObjectFreezableAnimatable 物件的集合。Represents a collection of DependencyObject, Freezable, or Animatable objects. FreezableCollection<T> 本身是 Animatable 類型。FreezableCollection<T> is itself an Animatable type.

GiveFeedbackEventArgs

包含 GiveFeedback 事件的引數。Contains arguments for the GiveFeedback event.

GridLengthConverter

將其他型別的執行個體與 GridLength 執行個體互相轉換。Converts instances of other types to and from GridLength instances.

HierarchicalDataTemplate

表示支援 DataTemplateHeaderedItemsControl,例如 TreeViewItemMenuItemRepresents a DataTemplate that supports HeaderedItemsControl, such as TreeViewItem or MenuItem.

HwndDpiChangedEventArgs

代表與 DpiChanged 事件相關的 HandledEventArgs 類型。Represents a type of HandledEventArgs that is relevant to a DpiChanged event.

Int32RectConverter

將其他型別的執行個體與 Int32Rect 來回轉換。Converts instances of other types to and from an Int32Rect.

KeySplineConverter

在其他型別的執行個體和 KeySpline 之間來回轉換。Converts instances of other types to and from a KeySpline.

KeyTimeConverter

KeyTime 執行個體 (Instance) 來回轉換成其他型別。Converts instances of KeyTime to and from other types.

LengthConverter

在其他資料型別的執行個體與表示物件長度的 Double 執行個體之間進行轉換。Converts instances of other types to and from instances of a Double that represent an object's length.

LocalizabilityAttribute

指定二進位 XAML (BAML) 類別或類別成員的當地語系化屬性。Specifies the localization attributes for a binary XAML (BAML) class or class member.

Localization

Localization 類別定義當地語系化屬性 (Attribute) 及註解的附加屬性 (Property)。The Localization class defines attached properties for localization attributes and comments.

LogicalTreeHelper

提供靜態 Helper 方法來查詢邏輯樹狀中的物件。Provides static helper methods for querying objects in the logical tree.

LostFocusEventManager

提供 WeakEventManager 實作,讓您能夠使用「弱式事件接聽程式」模式附加 LostFocusLostFocus 事件的接聽程式。Provides a WeakEventManager implementation so that you can use the "weak event listener" pattern to attach listeners for the LostFocus or LostFocus events.

MediaScriptCommandRoutedEventArgs

提供 ScriptCommandScriptCommand 事件的資料。Provides data for the ScriptCommand and ScriptCommand events.

MessageBox

顯示訊息方塊。Displays a message box.

MultiDataTrigger

表示觸發程序,這個觸發程序會在繫結資料符合一組條件時套用屬性值或執行動作。Represents a trigger that applies property values or performs actions when the bound data meet a set of conditions.

MultiTrigger

表示觸發程序,這個觸發程序會在符合一組條件時套用屬性值或執行動作。Represents a trigger that applies property values or performs actions when a set of conditions are satisfied.

NameScope

實作 INameScope 方法的基礎 WPF 支援,這些方法可將「名稱-物件」對應儲存或擷取至特定 XAML 名稱範圍中。Implements base WPF support for the INameScope methods that store or retrieve name-object mappings into a particular XAML namescope. 新增附加屬性支援,以簡化在項目層級動態取得或設定 XAML 名稱範圍名稱。Adds attached property support to make it simpler to get or set XAML namescope names dynamically at the element level.

NullableBoolConverter

來回轉換 Nullable<T> 型別 (在泛型上使用 Boolean 型別條件約束)。Converts to and from the Nullable<T> type (using the Boolean type constraint on the generic).

PointConverter

在其他型別的執行個體和 Point 之間來回轉換。Converts instances of other types to and from a Point.

PresentationSource

提供抽象基底類別,以顯示互通案例中其他技術的內容。Provides an abstract base for classes that present content from another technology as part of an interoperation scenario. 此外,這個類別還提供使用這些來源以及基礎視覺分層表示架構的靜態方法。In addition, this class provides static methods for working with these sources, as well as the basic visual-layer presentation architecture.

PropertyMetadata

在特定行為方面定義相依性屬性,因為它會套用到特定的類型,包括註冊時所用的條件。Defines certain behavior aspects of a dependency property as it is applied to a specific type, including conditions it was registered with.

PropertyPath

實作資料結構,用於將一個屬性描述為另一個屬性或擁有者型別之下的一個路徑。Implements a data structure for describing a property as a path below another property, or below an owning type. 屬性路徑用於繫結至物件的資料中,以及動畫的腳本和時刻表中。Property paths are used in data binding to objects, and in storyboards and timelines for animations.

PropertyPathConverter

提供 PropertyPath 物件的型別轉換子。Provides a type converter for PropertyPath objects.

QueryContinueDragEventArgs

包含 QueryContinueDrag 事件的引數。Contains arguments for the QueryContinueDrag event.

RectConverter

將其他類型的執行個體轉換成 Rect 執行個體,以及反向操作。Converts instances of other types to and from instances of Rect.

RequestBringIntoViewEventArgs

提供 RequestBringIntoView 路由事件的資料。Provides data for the RequestBringIntoView routed event.

ResourceDictionary

提供雜湊表/字典實作,其中包含元件及 WPF 應用程式之其他項目所使用的 WPF 資源。Provides a hash table / dictionary implementation that contains WPF resources used by components and other elements of a WPF application.

ResourceKey

為各種資源索引鍵提供抽象基底類別。Provides an abstract base class for various resource keys.

ResourceReferenceKeyNotFoundException

在剖析或序列化標記延伸資源期間找不到資源參考索引鍵時,擲回的例外狀況。The exception that is thrown when a resource reference key cannot be found during parsing or serialization of markup extension resources.

RoutedEvent

表示和識別路由事件,並宣告其特性。Represents and identifies a routed event and declares its characteristics.

RoutedEventArgs

包含與路由事件相關聯的狀態資訊和事件資料。Contains state information and event data associated with a routed event.

RoutedPropertyChangedEventArgs<T>

提供特定路由事件所報告相依性屬性值變更的相關資料 (包括所變更屬性的先前和目前值)。Provides data about a change in value to a dependency property as reported by particular routed events, including the previous and current value of the property that changed.

SessionEndingCancelEventArgs

包含 SessionEnding 事件的事件引數。Contains the event arguments for the SessionEnding event.

Setter

表示套用屬性值的 setter。Represents a setter that applies a property value.

SetterBase

表示值 setter 的基底類別。Represents the base class for value setters.

SetterBaseCollection

表示 SetterBase 物件的集合。Represents a collection of SetterBase objects.

SizeChangedEventArgs

提供與 SizeChanged 事件相關的資料。Provides data related to the SizeChanged event.

SizeChangedInfo

報告包含 Size 之值變更的特性。Report the specifics of a value change involving a Size. 這是當成 OnRenderSizeChanged(SizeChangedInfo) 覆寫中的參數。This is used as a parameter in OnRenderSizeChanged(SizeChangedInfo) overrides.

SizeConverter

將其他型別的執行個體來回轉換成 Size 類別的執行個體。Converts instances of other types to and from instances of the Size class.

SourceChangedEventArgs

為 SourceChanged 事件提供資料,用於互通。Provides data for the SourceChanged event, used for interoperation. 這個類別無法被繼承。This class cannot be inherited.

SplashScreen

提供 Windows Presentation Foundation (WPF) 應用程式的啟動畫面。Provides a startup screen for a Windows Presentation Foundation (WPF) application.

StartupEventArgs

包含 Startup 事件的引數。Contains the arguments for the Startup event.

StaticResourceExtension

實作標記延伸,該標記延伸支援從 XAML 進行的靜態 (XAML 載入時間 (Load Time)) 資源參考。Implements a markup extension that supports static (XAML load time) resource references made from XAML.

StrokeCollectionConverter

StrokeCollection 轉換成字串。Converts a StrokeCollection to a string.

Style

在某型別的各執行個體間啟用屬性、資源與事件處理常式的共用。Enables the sharing of properties, resources, and event handlers between instances of a type.

StyleTypedPropertyAttribute

表示套用於類別定義的屬性 (Attribute),並判定 TargetType型別之屬性 (Property) 的 StyleRepresents an attribute that is applied to the class definition and determines the TargetTypes of the properties that are of type Style.

SystemColors

包含系統色彩、系統筆刷,以及對應於系統顯示項目的系統資源索引鍵。Contains system colors, system brushes, and system resource keys that correspond to system display elements.

SystemCommands

定義視窗管理共用的路由指令。Defines routed commands that are common to window management.

SystemFonts

包含屬性,這些屬性會公開與字型有關的系統資源。Contains properties that expose the system resources that concern fonts.

SystemParameters

包含您可以用於查詢系統設定的屬性。Contains properties that you can use to query system settings.

TemplateBindingExpression

描述 TemplateBindingExtension 的執行階段執行個體 (Instance)。Describes a run-time instance of a TemplateBindingExtension.

TemplateBindingExpressionConverter

型別轉換子,用於在序列化 (Serialization) 期間從 TemplateBindingExpression 執行個體建構標記延伸。A type converter that is used to construct a markup extension from a TemplateBindingExpression instance during serialization.

TemplateBindingExtension

實作標記延伸,該標記延伸支援範本中的屬性值與樣板化控制項上一些其他公開屬性值之間的繫結。Implements a markup extension that supports the binding between the value of a property in a template and the value of some other exposed property on the templated control.

TemplateBindingExtensionConverter

型別轉換子 (Type Converter),用來在序列化 (Serialization) 期間從執行個體建構 TemplateBindingExtensionA type converter that is used to construct a TemplateBindingExtension from an instance during serialization.

TemplateContent

實作錄製和播放邏輯,範本會在與 XAML 讀取器和寫入器互動時,使用這個邏輯來延後內容。Implements the record and playback logic that templates use for deferring content when they interact with XAML readers and writers.

TemplateContentLoader

實作 XamlDeferringLoader,以延後載入針對 WPF XAML 形式的範本所定義的 XAML 內容。Implements XamlDeferringLoader in order to defer loading of the XAML content that is defined for a template in WPF XAML.

TemplateKey

當做為資料樣板的資源索引鍵使用時,允許資料樣板參與查詢處理序。When used as a resource key for a data template, allows the data template to participate in the lookup process.

TemplatePartAttribute

表示屬性,這個屬性會套用至類別定義,以識別用做為範本之具名部分的型別。Represents an attribute that is applied to the class definition to identify the types of the named parts that are used for templating.

TemplateVisualStateAttribute

表示控制項可以處於特定狀態,而且 VisualState 是控制項的 ControlTemplate 中的預期項目。Specifies that a control can be in a certain state and that a VisualState is expected in the control's ControlTemplate.

TextDecoration

表示文字裝飾,即加入文字的視覺裝飾 (如底線)。Represents a text decoration, which a visual ornamentation that is added to text (such as an underline).

TextDecorationCollection

表示 TextDecoration 執行個體的集合。Represents a collection of TextDecoration instances.

TextDecorationCollectionConverter

從其他資料型別轉換 TextDecorationCollection 的執行個體。Converts instances of TextDecorationCollection from other data types.

TextDecorations

提供一組靜態的預先定義文字裝飾。Provides a set of static predefined text decorations.

ThemeDictionaryExtension

實作標記延伸,可讓應用程式作者根據目前的系統主題自訂控制項樣式。Implements a markup extension that enables application authors to customize control styles based on the current system theme.

ThemeInfoAttribute

指定組件之佈景主題字典的儲存位置。Specifies the location in which theme dictionaries are stored for an assembly.

ThicknessConverter

將其他類型的執行個體轉換成 Thickness 執行個體,以及反向操作。Converts instances of other types to and from instances of Thickness.

Trigger

表示觸發程序,這個觸發程序 (Trigger) 會有條件地套用屬性值或執行動作。Represents a trigger that applies property values or performs actions conditionally.

TriggerAction

描述觸發 (Trigger) 要執行的動作。Describes an action to perform for a trigger.

TriggerActionCollection

表示 TriggerAction 物件的集合。Represents a collection of TriggerAction objects.

TriggerBase

代表基底類別,用於指定 Style 物件內的條件值。Represents the base class for specifying a conditional value within a Style object.

TriggerCollection

表示 TriggerBase 物件的集合。Represents a collection of TriggerBase objects.

UIElement

UIElement 是以 Windows Presentation Foundation (WPF) 項目和基本呈現方式特性為建置基礎之 WPF 核心層級實作的基底類別。UIElement is a base class for WPF core level implementations building on Windows Presentation Foundation (WPF) elements and basic presentation characteristics.

UIElement3D

UIElement3D 是以 Windows Presentation Foundation (WPF) 項目和基本呈現方式特性為建置基礎之 WPF 核心層級實作的基底類別。UIElement3D is a base class for WPF core level implementations building on Windows Presentation Foundation (WPF) elements and basic presentation characteristics.

UIPropertyMetadata

為在核心層級上具有呈現/使用者介面影響的非架構屬性提供屬性中繼資料 (Metadata)。Provides property metadata for non-framework properties that do have rendering/user interface impact at the core level.

VectorConverter

在其他型別的執行個體和 Vector 之間來回轉換。Converts instances of other types to and from a Vector.

VisualState

表示控制項處於特定狀態時的視覺外觀。Represents the visual appearance of the control when it is in a specific state.

VisualStateChangedEventArgs

提供 CurrentStateChangingCurrentStateChanged 事件的資料。Provides data for the CurrentStateChanging and CurrentStateChanged events.

VisualStateGroup

包含互斥的 VisualState 物件與 VisualTransition 物件,用於從某一個狀態移動至另一個狀態。Contains mutually exclusive VisualState objects and VisualTransition objects that are used to move from one state to another.

VisualStateManager

管理控制項在狀態之間轉換的狀態與邏輯。Manages states and the logic for transitioning between states for controls.

VisualTransition

表示當控制項由某個狀態轉換到另一個狀態時發生的視覺化行為。Represents the visual behavior that occurs when a control transitions from one state to another.

WeakEventManager

為「弱式事件模式」中所使用的事件管理員提供基底類別。Provides a base class for the event manager that is used in the weak event pattern. 管理員會針對也使用該模式的事件 (或回呼) 加入或移除接聽程式。The manager adds and removes listeners for events (or callbacks) that also use the pattern.

WeakEventManager.ListenerList

提供內建的集合清單以用於儲存 WeakEventManager 的接聽程式。Provides a built-in collection list for storing listeners for a WeakEventManager.

WeakEventManager<TEventSource,TEventArgs>

提供型別安全的 WeakEventManager,讓您指定要用於「弱式事件接聽程式」(Weak Event Listener) 模式的事件接聽程式。Provides a type-safe WeakEventManager that enables you to specify the event handler to use for the "weak event listener" pattern. 這個類別會為事件的來源定義型別參數,以及為所使用的事件資料定義型別參數。This class defines a type parameter for the source of the event and a type parameter for the event data that is used.

WeakEventManager.ListenerList<TEventArgs>

提供型別安全集合清單以用於儲存 WeakEventManager 的接聽程式。Provides a type-safe collection list for storing listeners for a WeakEventManager. 這個類別會為所使用的事件資料定義型別參數。This class defines a type parameter for the event data that is used.

Window

提供建立、設定、顯示和管理視窗與對話方塊存留期的能力。Provides the ability to create, configure, show, and manage the lifetime of windows and dialog boxes.

WindowCollection

表示 Window 物件的集合。Represents a collection of Window objects. 這個類別無法被繼承。This class cannot be inherited.

結構

CornerRadius

表示矩形邊角的半徑。Represents the radii of a rectangle's corners.

DependencyPropertyChangedEventArgs

提供各種屬性變更事件的資料。Provides data for various property changed events. 這些事件通常會報告唯讀相依性屬性值中的有效值變更。Typically these events report effective value changes in the value of a read-only dependency property. 此外,也可以當做 PropertyChangedCallback 實作的一部分來使用。Another usage is as part of a PropertyChangedCallback implementation.

DpiScale

儲存從中呈現 VisualUIElement 的 DPI 資訊。Stores DPI information from which a Visual or UIElement is rendered.

Duration

表示 Timeline 作用中的持續時間。Represents the duration of time that a Timeline is active.

FigureLength

描述 Figure 的高度或寬度。Describes the height or width of a Figure.

FontStretch

描述字型相對於字型一般外觀比例的縮放度數。Describes the degree to which a font has been stretched compared to the normal aspect ratio of that font.

FontStyle

定義結構,代表像是一般、斜體或傾斜的字體樣式。Defines a structure that represents the style of a font face as normal, italic, or oblique.

FontWeight

以筆劃輕重表示字樣密度。Refers to the density of a typeface, in terms of the lightness or heaviness of the strokes.

FreezableCollection<T>.Enumerator

列舉 FreezableCollection<T> 的成員。Enumerates the members of a FreezableCollection<T>.

GridLength

代表明確支援 Star 單位類型的項目長度。Represents the length of elements that explicitly support Star unit types.

Int32Rect

描述整數矩形的寬度、高度以及位置。Describes the width, height, and location of an integer rectangle.

LocalValueEntry

表示屬性識別項和本機設定相依性屬性的屬性值。Represents a property identifier and the property value for a locally set dependency property.

LocalValueEnumerator

為任何存在於 DependencyObject 之相依性屬性的區域數值提供列舉支援。Provides enumeration support for the local values of any dependency properties that exist on a DependencyObject.

Point

代表在二維空間中的 X 和 Y 座標組。Represents an x- and y-coordinate pair in two-dimensional space.

Rect

描述矩形的寬度、高度和位置。Describes the width, height, and location of a rectangle.

RoutedEventHandlerInfo

提供特殊處理資訊,通知事件接聽程式是否應該叫用特定的處理常式。Provides special handling information to inform event listeners whether specific handlers should be invoked.

Size

實作用來描述 Size 物件的結構。Implements a structure that is used to describe the Size of an object.

TextDecorationCollection.Enumerator

列舉 TextDecoration 中的 TextDecoration 項目。Enumerates TextDecoration items in a TextDecoration.

Thickness

描述矩形周圍框架的粗細。Describes the thickness of a frame around a rectangle. 四個 Double 值分別描述矩形的 LeftTopRightBottom 邊。Four Double values describe the Left, Top, Right, and Bottom sides of the rectangle, respectively.

ValueSource

報告從 GetValueSource(DependencyObject, DependencyProperty) 傳回的資訊。Reports the information returned from GetValueSource(DependencyObject, DependencyProperty).

Vector

表示 2D 空間中的移動。Represents a displacement in 2-D space.

介面

IContentHost

這個介面是由裝載 ContentElement 的介面實作的。This interface is implemented by layouts which host ContentElement.

IDataObject

提供不受格式影響的資料傳送機制。Provides a format-independent mechanism for transferring data.

IFrameworkInputElement

宣告架構項目的名稱範圍合約。Declares a namescope contract for framework elements.

IInputElement

透過 Windows Presentation Foundation (WPF) 項目建立一般事件,以及與事件相關的屬性和用以處理基本輸入的方法。Establishes the common events and also the event-related properties and methods for basic input processing by Windows Presentation Foundation (WPF) elements.

IWeakEventListener

為透過 WeakEvent 模式和 WeakEventManager 接收事件的類別提供事件接聽支援。Provides event listening support for classes that expect to receive events through the WeakEvent pattern and a WeakEventManager.

列舉

BaseCompatibilityPreferences.HandleDispatcherRequestProcessingFailureOptions

提供一組值,描述發送器如何回應在處理要求時發生的失敗。Provides a set of values that describes how the dispatcher responds to failures that are encountered while requesting processing.

BaselineAlignment

描述相對於已建立的文字基準,文字型項目的基準在垂直軸上的擺放方式。Describes how the baseline for a text-based element is positioned on the vertical axis, relative to the established baseline for text.

BaseValueSource

識別特定相依性屬性值的屬性系統來源。Identifies the property system source of a particular dependency property value.

ColumnSpaceDistribution

描述如何在分欄的非固定格式內容中分配間距。Describes how to distribute space in columnated flow content.

DragAction

指定拖放作業是否應該繼續以及如何繼續。Specifies how and if a drag-and-drop operation should continue.

DragDropEffects

指定拖放作業的效果。Specifies the effects of a drag-and-drop operation.

DragDropKeyStates

指定輔助按鍵 (SHIFT、CTRL 和 ALT) 的目前狀態,以及滑鼠按鍵的狀態。Specifies the current state of the modifier keys (SHIFT, CTRL, and ALT), as well as the state of the mouse buttons.

FigureHorizontalAnchor

描述圖形在水平方向的位置參考。Describes a position reference for a figure in a horizontal direction.

FigureUnitType

描述與 FigureLength 的寬度或高度相關聯的單位型別。Describes the unit type associated with the width or height of a FigureLength.

FigureVerticalAnchor

描述圖形在垂直方向的參考點。Describes the point of reference of a figure in the vertical direction.

FlowDirection

定義常數,指定文字和使用者介面 (UI) 項目的內容流向。Defines constants that specify the content flow direction for text and user interface (UI) elements.

FontCapitals

描述 Typography 物件的大寫字母樣式。Describes the capital letter style for a Typography object.

FontEastAsianLanguage

提供機制讓使用者可以針對指定的東亞書寫系統或語言選取特定字型版本的圖像。Provides a mechanism for the user to select font-specific versions of glyphs for a specified East Asian writing system or language.

FontEastAsianWidths

為使用者提供機制來選取不同寬度樣式的圖像。Provides a mechanism for the user to select glyphs of different width styles.

FontFraction

描述 Typography 物件的分數樣式。Describes the fraction style for a Typography object.

FontNumeralAlignment

描述 Typography 物件的數值對齊方式。Describes the numeral alignment for a Typography object.

FontNumeralStyle

描述 Typography 物件的數值樣式。Describes the numeral style for a Typography object.

FontVariants

呈現不同印刷樣式圖像表單。Renders variant typographic glyph forms.

FrameworkPropertyMetadataOptions

在 Windows Presentation Foundation (WPF) 屬性系統中,指定屬於特定相依性屬性之架構層級屬性行為的類型。Specifies the types of framework-level property behavior that pertain to a particular dependency property in the Windows Presentation Foundation (WPF) property system.

GridUnitType

描述 GridLength 物件所含的值種類。Describes the kind of value that a GridLength object is holding.

HorizontalAlignment

表示在水平軸上,項目相對於父項目配置位置的顯示位置。Indicates where an element should be displayed on the horizontal axis relative to the allocated layout slot of the parent element.

InheritanceBehavior

表示屬性值繼承查閱、資源查閱和 RelativeSource FindAncestor 查閱的目前模式。 當繫結使用 RelativeSource 並將其 Mode 屬性設定為 FindAncestor 值時,會發生 RelativeSource FindAncestor 查閱。A RelativeSource FindAncestor lookup occurs when a binding uses a RelativeSource that has its Mode property set to the FindAncestor value.

LineBreakCondition

描述環繞內嵌 (Inline) 物件的中斷條件。Describes the breaking condition around an inline object.

LineStackingStrategy

描述針對每一行決定線條方塊的機制。Describes a mechanism by which a line box is determined for each line.

LocalizationCategory

為二進位 XAML (BAML) 類別或類別成員指定 LocalizabilityAttribute 的分類值。Specifies the category value of a LocalizabilityAttribute for a binary XAML (BAML) class or class member.

MessageBoxButton

指定訊息方塊中顯示的按鈕。 做為 Show 方法的引數。Used as an argument of the Show method.

MessageBoxImage

指定訊息方塊所顯示的圖示。Specifies the icon that is displayed by a message box.

MessageBoxOptions

指定訊息方塊的特殊顯示選項。Specifies special display options for a message box.

MessageBoxResult

指定使用者按下的訊息方塊按鈕, MessageBoxResult 是由 Show 方法所傳回。MessageBoxResult is returned by the Show method.

Modifiability

為二進位 XAML (BAML) 類別或類別成員指定 LocalizabilityAttribute 的可修改性值。Specifies the modifiability value of a LocalizabilityAttribute for a binary XAML (BAML) class or class member.

PowerLineStatus

指出系統電源是否連線,或不知道系統電源狀態。Indicates whether the system power is online, or that the system power status is unknown.

Readability

為二進位 XAML (BAML) 類別或類別成員指定 LocalizabilityAttribute 的可讀性值。Specifies the readability value of a LocalizabilityAttribute for a binary XAML (BAML) class or class member.

ReasonSessionEnding

指定使用者的工作階段結束的原因。 ReasonSessionEnding 屬性使用。Used by the ReasonSessionEnding property.

ResizeMode

指定視窗的大小是否可以調整,如果可以調整,指定其調整方式。 ResizeMode 屬性使用。Used by the ResizeMode property.

ResourceDictionaryLocation

指定主題資源字典所在的位置。Specifies the locations where theme resource dictionaries are located.

RoutingStrategy

表示路由事件的路由策略。Indicates the routing strategy of a routed event.

ShutdownMode

指定應用程式如何關閉。 ShutdownMode 屬性使用。Used by the ShutdownMode property.

SizeToContent

指定視窗如何自動調整本身,以符合其內容的大小。 SizeToContent 屬性使用。Used by the SizeToContent property.

TemplateKey.TemplateType

描述使用 TemplateKey 的不同樣板型別。Describes the different types of templates that use TemplateKey.

TextAlignment

指定物件中的文字要靠左對齊、靠右對齊、置中、還是對齊。Specifies whether the text in the object is left-aligned, right-aligned, centered, or justified.

TextDataFormat

指定文字資料的資料格式。Specifies the data format of the text data.

TextDecorationLocation

指定 TextDecoration 物件的垂直位置。Specifies the vertical position of a TextDecoration object.

TextDecorationUnit

指定 TextDecorationPenOffsetPen 粗細值的單位類型。Specifies the unit type of either a TextDecorationPenOffset or a Pen thickness value.

TextMarkerStyle

描述清單項目之項目符號樣式的外觀。Describes the appearance of a list item's bullet style.

TextTrimming

描述當文字溢出包含該文字的方塊邊緣時,如何修剪文字。Describes how text is trimmed when it overflows the edge of its containing box.

TextWrapping

指定是否在文字到達容器方塊邊緣時將文字換行。Specifies whether text wraps when it reaches the edge of the containing box.

VerticalAlignment

說明子項目如何在父項目配置位置中進行垂直定位或自動縮放。Describes how a child element is vertically positioned or stretched within a parent's layout slot.

Visibility

指定項目的顯示狀態。Specifies the display state of an element.

WindowStartupLocation

指定 Window 初次開啟時的顯示位置。 WindowStartupLocation 屬性使用。Used by the WindowStartupLocation property.

WindowState

指定是最小化、最大化還是還原視窗。 WindowState 屬性使用。Used by the WindowState property.

WindowStyle

指定 Window 具有的框線類型。 WindowStyle 屬性使用。Used by the WindowStyle property.

WrapDirection

指定內容迴繞物件時可使用的方向。Specifies the allowable directions that content can wrap around an object.

委派

AutoResizedEventHandler

代表將處理 HwndSource 所引發之 AutoResized 事件的方法。Represents the method that will handle the AutoResized event raised by HwndSource.

CoerceValueCallback

提供方法的範本,該方法會在相依性屬性值重新評估時或特別要求強制型轉 (Coercion) 時被呼叫。Provides a template for a method that is called whenever a dependency property value is being re-evaluated, or coercion is specifically requested.

DataObjectCopyingEventHandler

表示將處理 Copying 附加事件的方法。Represents a method that will handle the Copying attached event.

DataObjectPastingEventHandler

表示將處理 Pasting 附加事件的方法。Represents a method that will handle the Pasting attached event.

DataObjectSettingDataEventHandler

表示將處理 SettingData 附加事件的方法。Represents a method that will handle the SettingData attached event.

DependencyPropertyChangedEventHandler

代表方法,該方法將處理 DependencyProperty 在特定 DependencyObject 實作上變更時引發的事件。Represents the method that will handle events raised when a DependencyProperty is changed on a particular DependencyObject implementation.

DpiChangedEventHandler

表示將處理 DpiChangedEventArgs 的方法。Represents a method that will handle DpiChangedEventArgs.

DragEventHandler

代表將處理拖放路由的事件的方法,例如 DragEnterRepresents a method that will handle drag-and-drop routed events, for example DragEnter.

ExitEventHandler

代表處理 Exit 事件的方法。Represents the method that handles the Exit event.

GiveFeedbackEventHandler

代表將處理來自同處理序拖放作業之意見反應路由事件的方法,例如 GiveFeedbackRepresents a method that will handle the feedback routed event from in-process drag-and-drop operations, for instance GiveFeedback.

HwndDpiChangedEventHandler

要用於接收 DPI 變更通知之處理常式的委派。The delegate to use for handlers that receive DPI change notification.

PropertyChangedCallback

表示相依性屬性的有效屬性值變更時所要叫用的回呼。Represents the callback that is invoked when the effective property value of a dependency property changes.

QueryContinueDragEventHandler

代表將會處理路由事件的方法,此方法允許拖曳來源取消拖放作業,例如 QueryContinueDragRepresents a method that will handle the routed events that enables a drag-and-drop operation to be canceled by the drag source, for example QueryContinueDrag.

RequestBringIntoViewEventHandler

表示將處理 RequestBringIntoView 路由事件的方法。Represents the method that will handle the RequestBringIntoView routed event.

RoutedEventHandler

表示方法,這個方法會針對其特定事件資料不超過所有路由事件共通資料範圍的各種路由事件進行處理。Represents the method that will handle various routed events that do not have specific event data beyond the data that is common for all routed events.

RoutedPropertyChangedEventHandler<T>

表示將處理各種追蹤屬性值變更之路由事件的方法。Represents methods that will handle various routed events that track property value changes.

SessionEndingCancelEventHandler

代表處理 SessionEnding 事件的方法。Represents the method that handles the SessionEnding event.

SizeChangedEventHandler

表示將處理 SizeChanged 路由事件的方法。Represents the method that will handle the SizeChanged routed event.

SourceChangedEventHandler

表示將在指定的接聽程式項目上處理 "SourceChanged" 事件的方法。Represents the method that will handle the "SourceChanged" event on specific listener elements.

StartupEventHandler

代表處理 Startup 事件的方法。Represents the method that handles the Startup event.

ValidateValueCallback

表示作為回呼的方法,該方法可驗證相依性屬性的有效值。Represents a method used as a callback that validates the effective value of a dependency property.