menu

MAUI

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

    Show / Hide Table of Contents

    Class SfView

    Inheritance
    System.Object
    SfView
    AccordionItem
    SfSegmentedControl
    SfSwitch
    ToggleButton
    SfCalendar
    ButtonBase
    SfAvatarView
    SfContentView
    SfDropdownEntry
    SfDataForm
    DataGridLoadMoreView
    DataGridRow
    SfDataPager
    SfDataGrid
    VisualContainer
    SfExpander
    SfImageEditor
    SfMaskedEntry
    SfNumericEntry
    SfListView
    VisualContainer
    SfPdfViewer
    PickerBase
    SfPopup
    ProgressBarBase
    SfStepProgressBar
    SfRadialMenu
    ShimmerView
    RangeView<T>
    SfToolbar
    SfTreeMap
    SfTreeView
    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.Core
    Assembly: Syncfusion.Maui.Core.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()

    Declaration
    public SfView()

    Properties

    Children

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

    ClipToBounds

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

    Padding

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

    Methods

    ArrangeContent(Rect)

    Declaration
    protected virtual Size ArrangeContent(Rect bounds)
    Parameters
    Type Name Description
    Microsoft.Maui.Graphics.Rect bounds
    Returns
    Type
    Microsoft.Maui.Graphics.Size

    ArrangeOverride(Rect)

    Declaration
    protected override sealed Size ArrangeOverride(Rect bounds)
    Parameters
    Type Name Description
    Microsoft.Maui.Graphics.Rect bounds
    Returns
    Type
    Microsoft.Maui.Graphics.Size

    GetSemanticsNodesCore(Double, Double)

    Return the semantics nodes for the view.

    Declaration
    protected virtual List<SemanticsNode> GetSemanticsNodesCore(double width, double height)
    Parameters
    Type Name Description
    System.Double width

    The view width.

    System.Double height

    The view height.

    Returns
    Type Description
    System.Collections.Generic.List<Syncfusion.Maui.Graphics.Internals.SemanticsNode>

    The semantics nodes of the view.

    MeasureContent(Double, Double)

    Declaration
    protected virtual Size MeasureContent(double widthConstraint, double heightConstraint)
    Parameters
    Type Name Description
    System.Double widthConstraint
    System.Double heightConstraint
    Returns
    Type
    Microsoft.Maui.Graphics.Size

    MeasureOverride(Double, Double)

    Declaration
    protected override sealed Size MeasureOverride(double widthConstraint, double heightConstraint)
    Parameters
    Type Name Description
    System.Double widthConstraint
    System.Double heightConstraint
    Returns
    Type
    Microsoft.Maui.Graphics.Size

    OnBindingContextChanged()

    Declaration
    protected override void OnBindingContextChanged()

    OnDraw(ICanvas, RectF)

    Declaration
    protected virtual void OnDraw(ICanvas canvas, RectF dirtyRect)
    Parameters
    Type Name Description
    Microsoft.Maui.Graphics.ICanvas canvas
    Microsoft.Maui.Graphics.RectF dirtyRect

    OnHandlerChanged()

    Declaration
    protected override void OnHandlerChanged()

    Explicit Interface Implementations

    IDrawableLayout.DrawingOrder

    Declaration
    DrawingOrder IDrawableLayout.DrawingOrder { get; set; }
    Returns
    Type
    DrawingOrder

    IDrawableLayout.InvalidateDrawable()

    Declaration
    void IDrawableLayout.InvalidateDrawable()

    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