<Type Name="CarouselPage" FullName="Microsoft.Maui.Controls.CarouselPage">
  <TypeSignature Language="C#" Value="public class CarouselPage : Microsoft.Maui.Controls.MultiPage&lt;Microsoft.Maui.Controls.ContentPage&gt;, Microsoft.Maui.Controls.IElementConfiguration&lt;Microsoft.Maui.Controls.CarouselPage&gt;" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit CarouselPage extends Microsoft.Maui.Controls.MultiPage`1&lt;class Microsoft.Maui.Controls.ContentPage&gt; implements class Microsoft.Maui.Controls.IElementConfiguration`1&lt;class Microsoft.Maui.Controls.CarouselPage&gt;" />
  <TypeSignature Language="DocId" Value="T:Microsoft.Maui.Controls.CarouselPage" />
  <TypeSignature Language="F#" Value="type CarouselPage = class&#xA;    inherit MultiPage&lt;ContentPage&gt;&#xA;    interface IElementConfiguration&lt;CarouselPage&gt;" />
  <AssemblyInfo>
    <AssemblyName>Microsoft.Maui.Controls.Core</AssemblyName>
    <AssemblyVersion>0.0.0.0</AssemblyVersion>
    <AssemblyVersion>1.0.0.0</AssemblyVersion>
    <AssemblyVersion>1.1.0.0</AssemblyVersion>
    <AssemblyVersion>1.2.0.0</AssemblyVersion>
    <AssemblyVersion>1.3.0.0</AssemblyVersion>
    <AssemblyVersion>1.4.0.0</AssemblyVersion>
    <AssemblyVersion>1.5.0.0</AssemblyVersion>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>Microsoft.Maui.Controls.MultiPage&lt;Microsoft.Maui.Controls.ContentPage&gt;</BaseTypeName>
    <BaseTypeArguments>
      <BaseTypeArgument TypeParamName="T">Microsoft.Maui.Controls.ContentPage</BaseTypeArgument>
    </BaseTypeArguments>
  </Base>
  <Interfaces>
    <Interface>
      <InterfaceName>Microsoft.Maui.Controls.IElementConfiguration&lt;Microsoft.Maui.Controls.CarouselPage&gt;</InterfaceName>
    </Interface>
  </Interfaces>
  <Attributes>
    <Attribute>
      <AttributeName>Microsoft.Maui.Controls.RenderWith(typeof(Microsoft.Maui.Controls.Platform._CarouselPageRenderer))</AttributeName>
    </Attribute>
  </Attributes>
  <Docs>
    <summary>A Page that users can swipe from side to side to display pages of content, like a gallery.</summary>
    <remarks>
      <para>The <see cref="T:Microsoft.Maui.Controls.CarouselPage" /> provides a navigation experience that will feel natural and familiar to Windows Phone users. By using <see cref="T:Microsoft.Maui.Controls.TargetPlatform" />, application developers can provide customized navigation on a per-platform basis. For example, an application developer could use a <see cref="T:Microsoft.Maui.Controls.NavigationPage" /> for Android and iOS, and use a <see cref="T:Microsoft.Maui.Controls.CarouselPage" /> on Windows Phone.</para>
      <example>
        <para>The following XAML example, when properly included and referenced in a Microsoft.Maui.Controls project, creates a <see cref="T:Microsoft.Maui.Controls.CarouselPage" /> that displays three simple <see cref="T:Microsoft.Maui.Controls.ContentPage" /> elements:
  </para>
        <code lang="XAML"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<CarouselPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="XamlExample1.MyPage">
    <ContentPage>
        <StackLayout>
            <Label Text="Red" />
            <BoxView Color="Red" VerticalOptions="FillAndExpand" />
        </StackLayout>
    </ContentPage>
    <ContentPage>
        <StackLayout>
            <Label Text="Green" />
            <BoxView Color="Green" VerticalOptions="FillAndExpand" />
        </StackLayout>
    </ContentPage>
    <ContentPage>
        <StackLayout>
            <Label Text="Blue" />
            <BoxView Color="Blue" VerticalOptions="FillAndExpand" />
        </StackLayout>
    </ContentPage>
</CarouselPage>]]></code>
      </example>
      <example>
        <para>The following C# example creates a <see cref="T:Microsoft.Maui.Controls.CarouselPage" /> that displays three simple <see cref="T:Microsoft.Maui.Controls.ContentPage" /> elements:</para>
        <code lang="csharp lang-csharp"><![CDATA[
List<ContentPage> pages = new List<ContentPage> (0);
Color[] colors = { Color.Red, Color.Green, Color.Blue };
foreach (Color c in colors) {
    pages.Add (new ContentPage { Content = new StackLayout {
            Children = {
                new Label { Text = c.ToString () },
                new BoxView {
                    Color = c,
                    VerticalOptions = LayoutOptions.FillAndExpand
                }
            }
        }
    });
}
    
MainPage = new CarouselPage {
    Children = { pages [0],
                 pages [1],
                 pages [2] }
};
]]></code>
      </example>
      <block subset="none" type="note">When embedding a CarouselPage into a <see cref="P:Microsoft.Maui.Controls.FlyoutPage.Detail" />, application developers should set <see cref="P:Microsoft.Maui.Controls.FlyoutPage.IsGestureEnabled" /> to <see langword="false" /> to prevent gesture conflicts between the CarouselPage and MasterDetailPage.</block>
      <para>
        <img href="~/Microsoft.Maui.Controls/_images/CarouselPage.TripleScreenShot.png" />
      </para>
    </remarks>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public CarouselPage ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
      <MemberSignature Language="DocId" Value="M:Microsoft.Maui.Controls.CarouselPage.#ctor" />
      <MemberType>Constructor</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
        <AssemblyVersion>1.0.0.0</AssemblyVersion>
        <AssemblyVersion>1.1.0.0</AssemblyVersion>
        <AssemblyVersion>1.2.0.0</AssemblyVersion>
        <AssemblyVersion>1.3.0.0</AssemblyVersion>
        <AssemblyVersion>1.4.0.0</AssemblyVersion>
        <AssemblyVersion>1.5.0.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyName>Microsoft.Maui.Controls.Core</AssemblyName>
      </AssemblyInfo>
      <Parameters />
      <Docs>
        <summary>Initializes a new instance of the CarouselPage class.</summary>
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="CreateDefault">
      <MemberSignature Language="C#" Value="protected override Microsoft.Maui.Controls.ContentPage CreateDefault (object item);" />
      <MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance class Microsoft.Maui.Controls.ContentPage CreateDefault(object item) cil managed" />
      <MemberSignature Language="DocId" Value="M:Microsoft.Maui.Controls.CarouselPage.CreateDefault(System.Object)" />
      <MemberSignature Language="F#" Value="override this.CreateDefault : obj -&gt; Microsoft.Maui.Controls.ContentPage" Usage="carouselPage.CreateDefault item" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
        <AssemblyVersion>1.0.0.0</AssemblyVersion>
        <AssemblyVersion>1.1.0.0</AssemblyVersion>
        <AssemblyVersion>1.2.0.0</AssemblyVersion>
        <AssemblyVersion>1.3.0.0</AssemblyVersion>
        <AssemblyVersion>1.4.0.0</AssemblyVersion>
        <AssemblyVersion>1.5.0.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyName>Microsoft.Maui.Controls.Core</AssemblyName>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Microsoft.Maui.Controls.ContentPage</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="item" Type="System.Object" />
      </Parameters>
      <Docs>
        <param name="item">The object representing the model ofr the page.</param>
        <summary>Creates a default page, suitable for display in <c>this</c><see cref="T:Microsoft.Maui.Controls.CarouselPage" />, for an object.</summary>
        <returns>A page that is titled with the string value of <paramref name="item" />.</returns>
        <remarks>This returns a new <see cref="T:Microsoft.Maui.Controls.Page" /> object that has its <see cref="P:Microsoft.Maui.Controls.Page.Title" /> property set to the value of <see cref="M:System.Object.ToString" /> when called on <paramref name="item" />.</remarks>
      </Docs>
    </Member>
    <Member MemberName="On&lt;T&gt;">
      <MemberSignature Language="C#" Value="public Microsoft.Maui.Controls.IPlatformElementConfiguration&lt;T,Microsoft.Maui.Controls.CarouselPage&gt; On&lt;T&gt; () where T : Microsoft.Maui.Controls.IConfigPlatform;" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.Maui.Controls.IPlatformElementConfiguration`2&lt;!!T, class Microsoft.Maui.Controls.CarouselPage&gt; On&lt;(class Microsoft.Maui.Controls.IConfigPlatform) T&gt;() cil managed" />
      <MemberSignature Language="DocId" Value="M:Microsoft.Maui.Controls.CarouselPage.On``1" />
      <MemberSignature Language="F#" Value="override this.On : unit -&gt; Microsoft.Maui.Controls.IPlatformElementConfiguration&lt;'T, Microsoft.Maui.Controls.CarouselPage (requires 'T :&gt; Microsoft.Maui.Controls.IConfigPlatform)&gt; (requires 'T :&gt; Microsoft.Maui.Controls.IConfigPlatform)" Usage="carouselPage.On " />
      <MemberType>Method</MemberType>
      <Implements>
        <InterfaceMember>M:Microsoft.Maui.Controls.IElementConfiguration`1.On``1</InterfaceMember>
      </Implements>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyName>Microsoft.Maui.Controls.Core</AssemblyName>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Microsoft.Maui.Controls.IPlatformElementConfiguration&lt;T,Microsoft.Maui.Controls.CarouselPage&gt;</ReturnType>
      </ReturnValue>
      <TypeParameters>
        <TypeParameter Name="T">
          <Constraints>
            <InterfaceName>Microsoft.Maui.Controls.IConfigPlatform</InterfaceName>
          </Constraints>
        </TypeParameter>
      </TypeParameters>
      <Parameters />
      <Docs>
        <typeparam name="T">To be added.</typeparam>
        <summary>Returns the platform-specific instance of this <see cref="T:Microsoft.Maui.Controls.CarouselPage" />, on which a platform-specific method may be called.</summary>
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
  </Members>
</Type>
