Class SfView
Inheritance
System.Object
SfView
Implements
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.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, IVisualTreeElement
Constructors
SfView()
Declaration
public SfView()
Properties
Children
Declaration
public IList<IView> Children { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Microsoft.Maui.IView> |
ClipToBounds
Declaration
public bool ClipToBounds { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Padding
Declaration
public Thickness Padding { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Thickness |
Methods
ArrangeContent(Rect)
Declaration
protected virtual Size ArrangeContent(Rect bounds)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Maui.Graphics.Rect | bounds |
Returns
Type | Description |
---|---|
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 | Description |
---|---|
Microsoft.Maui.Graphics.Size |
MeasureContent(Double, Double)
Declaration
protected virtual Size MeasureContent(double widthConstraint, double heightConstraint)
Parameters
Type | Name | Description |
---|---|---|
System.Double | widthConstraint | |
System.Double | heightConstraint |
Returns
Type | Description |
---|---|
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 | Description |
---|---|
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()
OnMeasure(Double, Double)
Declaration
protected override sealed SizeRequest OnMeasure(double widthConstraint, double heightConstraint)
Parameters
Type | Name | Description |
---|---|---|
System.Double | widthConstraint | |
System.Double | heightConstraint |
Returns
Type | Description |
---|---|
Microsoft.Maui.SizeRequest |
Explicit Interface Implementations
IDrawableLayout.DrawingOrder
Declaration
DrawingOrder IDrawableLayout.DrawingOrder { get; set; }
Returns
Type | Description |
---|---|
DrawingOrder |
IDrawableLayout.InvalidateDrawable()
Declaration
void IDrawableLayout.InvalidateDrawable()
Implements
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.IVisualTreeElement