menu

MAUI Toolkit

  • User Guide
  • Demos
  • Support
Class SfView - MAUI-ToolKit API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfView

    Represents an abstract base class for custom views. This class provides common functionality and serves as a foundation for building custom drawable layouts, and visual tree elements.

    Inheritance
    System.Object
    SfView
    AccordionItem
    SfBottomSheet
    ButtonBase
    SfCalendar
    SfExpander
    SfNumericEntry
    SfOtpInput
    PickerBase
    SfPopup
    ProgressBarBase
    SfSegmentedControl
    SfContentView
    ShimmerView
    Implements
    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    System.Collections.Generic.IList<Microsoft.Maui.IView>
    System.Collections.Generic.ICollection<Microsoft.Maui.IView>
    System.Collections.Generic.IEnumerable<Microsoft.Maui.IView>
    System.Collections.IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.IVisualTreeElement
    Namespace: Syncfusion.Maui.Toolkit
    Assembly: Syncfusion.Maui.Toolkit.dll
    Syntax
    public abstract class SfView : View, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement, ISemanticsProvider

    Constructors

    SfView()

    Initializes a new instance of the SfView class.

    Declaration
    public SfView()

    Properties

    Children

    Gets the collection of child views contained within this view.

    Declaration
    public IList<IView> Children { get; }
    Property Value
    Type
    System.Collections.Generic.IList<Microsoft.Maui.IView>

    ClipToBounds

    Gets or sets a value indicating whether the content of this view is clipped to its bounds.

    Declaration
    public bool ClipToBounds { get; set; }
    Property Value
    Type
    System.Boolean

    Padding

    Gets or sets the padding for the view.

    Declaration
    public Thickness Padding { get; set; }
    Property Value
    Type
    Microsoft.Maui.Thickness

    Implements

    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    System.Collections.Generic.IList<>
    System.Collections.Generic.ICollection<>
    System.Collections.Generic.IEnumerable<>
    System.Collections.IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.IVisualTreeElement
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved