Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / Card Class
Members Example


In This Topic
    Card Class
    In This Topic
    ContentControl which offers the possibility of customizing the shadow that surrounds it.
    Syntax
    'Usage
     
    
    Dim instance As Card
    Example

    The following code would display this control:

    <xctk:Card ShadowBrush="Red"
               ShadowOffset="10, 10"
               ShadowRadius="5"
               ShadowOpacity="0.6"
               WidthRequest="200"
               HeightRequest="200"
               VerticalContentOptions="Center"
               Title="My Card">
      <Label Text="This is a nice Card control!"/>
    </xctk:Card>
    Inheritance Hierarchy

    System.Object
       Microsoft.Maui.Controls.BindableObject
          Microsoft.Maui.Controls.Element
             Microsoft.Maui.Controls.NavigableElement
                Microsoft.Maui.Controls.VisualElement
                   Microsoft.Maui.Controls.View
                      Microsoft.Maui.Controls.Compatibility.Layout
                         Microsoft.Maui.Controls.TemplatedView
                            Xceed.Maui.Toolkit.Control
                               Xceed.Maui.Toolkit.ContentControl
                                  Xceed.Maui.Toolkit.Card

    Public Constructors
     NameDescription
    Public Constructor  
    Top
    Public Fields
    Protected Fields
     NameDescription
    Protected Field (Inherited from Microsoft.Maui.Controls.View)
    Top
    Public Properties
     NameDescription
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.Element)
    Public PropertyGets or sets the Brush that will be used to paint the Control's background. (Inherited from Xceed.Maui.Toolkit.Control)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.BindableObject)
    Public PropertyGets or sets the Brush that will be used to paint the Control's Border. (Inherited from Xceed.Maui.Toolkit.Control)
    Public PropertyGets or sets the thickness of this Control's Border. (Inherited from Xceed.Maui.Toolkit.Control)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.Compatibility.Layout)
    Public Property (Inherited from Microsoft.Maui.Controls.NavigableElement)
    Public Property (Inherited from Microsoft.Maui.Controls.Element)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public PropertyGets or sets the content of the ContentControl.  (Inherited from Xceed.Maui.Toolkit.ContentControl)
    Public PropertyGets or sets the DataTemplate that will be used to format the ContentControl's Content. (Inherited from Xceed.Maui.Toolkit.ContentControl)
    Public Property (Inherited from Microsoft.Maui.Controls.TemplatedView)
    Public PropertyGets or sets the radius for the 4 corners of this Control.  (Inherited from Xceed.Maui.Toolkit.Control)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.BindableObject)
    Public Property (Inherited from Microsoft.Maui.Controls.Element)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public PropertyGets or sets the FontAttributes that will be applied to the Control's textual Content.  (Inherited from Xceed.Maui.Toolkit.Control)
    Public PropertyGets or sets the font family that will be used to display the Control's textual Content.  (Inherited from Xceed.Maui.Toolkit.Control)
    Public PropertyGets or sets the font size that will determine the scale of the Control's textual Content.  (Inherited from Xceed.Maui.Toolkit.Control)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.View)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public PropertyGets or sets how the Control's Content is aligned horizontally. (Inherited from Xceed.Maui.Toolkit.Control)
    Public Property (Inherited from Microsoft.Maui.Controls.View)
    Public Property (Inherited from Microsoft.Maui.Controls.Element)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.Compatibility.Layout)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.View)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.NavigableElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public PropertyGets or sets if the Control's VisualStates are overridden or not. (Inherited from Xceed.Maui.Toolkit.Control)
    Public PropertyGets or sets the amount of padding added around the Control.  (Inherited from Xceed.Maui.Toolkit.Control)
    Public Property (Inherited from Microsoft.Maui.Controls.Element)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public PropertyGets or sets the Brush that will be used to paint the shadow.  
    Public PropertyGets or sets the shadow's offset.  
    Public PropertyGets or sets the shadow's opacity.  
    Public PropertyGets or sets the shadow's radius.  
    Public Property (Inherited from Microsoft.Maui.Controls.NavigableElement)
    Public Property (Inherited from Microsoft.Maui.Controls.NavigableElement)
    Public Property (Inherited from Microsoft.Maui.Controls.Element)
    Public PropertyGets or sets the text's Color. (Inherited from Xceed.Maui.Toolkit.Control)
    Public PropertyGets or sets the Card's title.  
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public PropertyGets or sets how the Control's Content is aligned vertically. (Inherited from Xceed.Maui.Toolkit.Control)
    Public Property (Inherited from Microsoft.Maui.Controls.View)
    Public PropertyGets or sets the View that will be used by the Control once it has combined the ContentContentTemplate properties together.  (Inherited from Xceed.Maui.Toolkit.ContentControl)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Property (Inherited from Microsoft.Maui.Controls.VisualElement)
    Top
    Protected Properties
    Public Methods
     NameDescription
    Public Method (Inherited from Microsoft.Maui.Controls.Element)
    Public Method (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Method (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Method (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Method (Inherited from Microsoft.Maui.Controls.Element)
    Public MethodOverloaded.  (Inherited from Microsoft.Maui.Controls.BindableObject)
    Public MethodOverloaded.  (Inherited from Microsoft.Maui.Controls.BindableObject)
    Public Method (Inherited from Microsoft.Maui.Controls.Compatibility.Layout)
    Public Method (Inherited from Microsoft.Maui.Controls.Compatibility.Layout)
    Public Method (Inherited from Microsoft.Maui.Controls.Element)
    Public Method (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Method (Inherited from Microsoft.Maui.Controls.Compatibility.Layout)
    Public Method (Inherited from Microsoft.Maui.Controls.View)
    Public Method (Inherited from Microsoft.Maui.Controls.BindableObject)
    Public Method (Inherited from Microsoft.Maui.Controls.Element)
    Public Method (Inherited from Microsoft.Maui.Controls.BindableObject)
    Public Method (Inherited from Microsoft.Maui.Controls.VisualElement)
    Public Method (Inherited from Microsoft.Maui.Controls.Compatibility.Layout)
    Public Method (Inherited from Microsoft.Maui.Controls.Compatibility.Layout)
    Public Method (Inherited from Microsoft.Maui.Controls.Compatibility.Layout)
    Public Method (Inherited from Microsoft.Maui.Controls.BindableObject)
    Public Method (Inherited from Microsoft.Maui.Controls.Element)
    Public Method (Inherited from Microsoft.Maui.Controls.Element)
    Public Method (Inherited from Microsoft.Maui.Controls.TemplatedView)
    Public Method (Inherited from Microsoft.Maui.Controls.BindableObject)
    Public Method (Inherited from Microsoft.Maui.Controls.Element)
    Public MethodOverloaded.  (Inherited from Microsoft.Maui.Controls.BindableObject)
    Public Method (Inherited from Microsoft.Maui.Controls.VisualElement)
    Top
    Protected Methods
     NameDescription
    Protected Method (Inherited from Microsoft.Maui.Controls.BindableObject)
    Protected Method (Inherited from Microsoft.Maui.Controls.TemplatedView)
    Protected Internal Method (Inherited from Microsoft.Maui.Controls.View)
    Protected Method (Inherited from Microsoft.Maui.Controls.VisualElement)
    Protected Internal Method (Inherited from Microsoft.Maui.Controls.View)
    Protected Method (Inherited from Microsoft.Maui.Controls.TemplatedView)
    Protected Method (Inherited from Microsoft.Maui.Controls.Compatibility.Layout)
    Protected Method (Inherited from Microsoft.Maui.Controls.VisualElement)
    Protected Method (Inherited from Microsoft.Maui.Controls.Compatibility.Layout)
    Protected Method (Inherited from Microsoft.Maui.Controls.TemplatedView)
    Protected Method (Inherited from Microsoft.Maui.Controls.TemplatedView)
    Protected MethodOverridden.   
    Protected Method (Inherited from Xceed.Maui.Toolkit.ContentControl)
    Protected Method (Inherited from Microsoft.Maui.Controls.VisualElement)
    Protected MethodOverloaded.  (Inherited from Microsoft.Maui.Controls.Compatibility.Layout)
    Protected Method (Inherited from Microsoft.Maui.Controls.TemplatedView)
    Protected Method (Inherited from Microsoft.Maui.Controls.VisualElement)
    Protected Method (Inherited from Xceed.Maui.Toolkit.ContentControl)
    Protected Method (Inherited from Xceed.Maui.Toolkit.ContentControl)
    Protected Method (Inherited from Xceed.Maui.Toolkit.ContentControl)
    Protected Method (Inherited from Xceed.Maui.Toolkit.ContentControl)
    Protected Method (Inherited from Xceed.Maui.Toolkit.ContentControl)
    Protected Method (Inherited from Microsoft.Maui.Controls.Element)
    Protected Method (Inherited from Microsoft.Maui.Controls.Element)
    Protected Method (Inherited from Microsoft.Maui.Controls.TemplatedView)
    Protected Method (Inherited from Microsoft.Maui.Controls.Element)
    Protected Method (Inherited from Microsoft.Maui.Controls.Element)
    Protected Method (Inherited from Microsoft.Maui.Controls.NavigableElement)
    Protected Method (Inherited from Xceed.Maui.Toolkit.Control)
    Protected Method (Inherited from Microsoft.Maui.Controls.BindableObject)
    Protected Method  
    Protected Method  
    Protected Method (Inherited from Microsoft.Maui.Controls.Compatibility.Layout)
    Protected Method (Inherited from Xceed.Maui.Toolkit.ContentControl)
    Protected Method (Inherited from Microsoft.Maui.Controls.VisualElement)
    Protected Method (Inherited from Microsoft.Maui.Controls.Compatibility.Layout)
    Protected Method (Inherited from Microsoft.Maui.Controls.Compatibility.Layout)
    Protected Method (Inherited from Microsoft.Maui.Controls.VisualElement)
    Protected Method (Inherited from Microsoft.Maui.Controls.BindableObject)
    Protected Method (Inherited from Microsoft.Maui.Controls.Compatibility.Layout)
    Top
    Public Events
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also