IRootObjectProvider Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes a service that can return the root object of markup being parsed.
public interface class IRootObjectProvider
public interface IRootObjectProvider
type IRootObjectProvider = interface
Public Interface IRootObjectProvider
Remarks
The IRootObjectProvider service is mainly relevant to application services that are exposed by a particular framework or by capabilities of a commonly-used root element class in a framework.
Type converters and markup extensions can query for IRootObjectProvider as a service on the service context that is provided by a XAML object writer, when the XAML object writer invokes value conversion behavior. For more information, see Type Converters and Markup Extensions for XAML and Service Contexts Available to Type Converters and Markup Extensions.
Properties
RootObject |
Gets the root object from markup or from an object graph. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應