Share via


ArrayExtension Class

Definition

Provides a XAML markup extension that creates an array of objects.

public ref class ArrayExtension : Microsoft::Maui::Controls::Xaml::IMarkupExtension<Array ^>
[Microsoft.Maui.Controls.ContentProperty("Items")]
[Microsoft.Maui.Controls.Xaml.AcceptEmptyServiceProvider]
public class ArrayExtension : Microsoft.Maui.Controls.Xaml.IMarkupExtension<Array>
[<Microsoft.Maui.Controls.ContentProperty("Items")>]
[<Microsoft.Maui.Controls.Xaml.AcceptEmptyServiceProvider>]
type ArrayExtension = class
    interface IMarkupExtension<Array>
    interface IMarkupExtension
Public Class ArrayExtension
Implements IMarkupExtension(Of Array)
Inheritance
ArrayExtension
Attributes
Implements

Constructors

Name Description
ArrayExtension()

Initializes a new instance of the ArrayExtension class.

Properties

Name Description
Items

Gets the list of items to include in the array.

Type

Gets or sets the type of elements in the array.

Methods

Name Description
ProvideValue(IServiceProvider)

Explicit Interface Implementations

Name Description
IMarkupExtension.ProvideValue(IServiceProvider)

Applies to