Edit

Share via


GraphPresenter Class

Definition

Specialized Windows.UI.Xaml.Controls.ContentPresenter to fetch and display data from the Microsoft Graph.

[Windows.Foundation.Metadata.Experimental]
public class GraphPresenter : Windows.UI.Xaml.Controls.ContentPresenter
[<Windows.Foundation.Metadata.Experimental>]
type GraphPresenter = class
    inherit ContentPresenter
Public Class GraphPresenter
Inherits ContentPresenter
Inheritance
Windows.UI.Xaml.Controls.ContentPresenter
GraphPresenter
Attributes
Windows.Foundation.Metadata.ExperimentalAttribute

Constructors

GraphPresenter()

Initializes a new instance of the GraphPresenter class.

Fields

RequestBuilderProperty

Identifies the RequestBuilder dependency property.

Properties

IsCollection

Gets or sets a value indicating whether the returned data from the RequestBuilder is a collection.

OrderBy

Gets or sets a string to indicate a sorting order for the RequestBuilder. This is a helper to add this specific request option to the QueryOptions.

QueryOptions

Gets or sets list of QueryOption representing QueryOption values to pass into the request built by RequestBuilder.

RequestBuilder

Gets or sets a IBaseRequestBuilder to be used to make a request to the graph. The results will be automatically populated to the Windows.UI.Xaml.Controls.ContentPresenter.Content property. Use a Windows.UI.Xaml.Controls.ContentPresenter.ContentTemplate to change the presentation of the data.

ResponseType

Gets or sets the Type of item returned by the RequestBuilder. Set to the base item type and use the IsCollection property to indicate if a collection is expected back.

Applies to