C# Class Microsoft.Maui.Controls.ContentPresenter

Inheritance: Microsoft.Maui.Controls.Compatibility.Layout, IContentView
Datei anzeigen Open project: jsuarezruiz/maui-linux

Public Properties

Property Type Description
ContentProperty Microsoft.Maui.Controls.BindableProperty

Private Properties

Property Type Description
Clear void
ComputeConstraintForView void
IContentView Size
IContentView Size
OnContentChanged void
SetChildInheritedBindingContext void

Public Methods

Method Description
ContentPresenter ( ) : System

Protected Methods

Method Description
LayoutChildren ( double x, double y, double width, double height ) : void
OnMeasure ( double widthConstraint, double heightConstraint ) : SizeRequest

Private Methods

Method Description
Clear ( ) : void
ComputeConstraintForView ( Microsoft.Maui.Controls.View view ) : void
IContentView ( Rectangle bounds ) : Size
IContentView ( double widthConstraint, double heightConstraint ) : Size
OnContentChanged ( BindableObject bindable, object oldValue, object newValue ) : void
SetChildInheritedBindingContext ( Element child, object context ) : void

Method Details

ContentPresenter() public method

public ContentPresenter ( ) : System
return System

LayoutChildren() protected method

protected LayoutChildren ( double x, double y, double width, double height ) : void
x double
y double
width double
height double
return void

OnMeasure() protected method

protected OnMeasure ( double widthConstraint, double heightConstraint ) : SizeRequest
widthConstraint double
heightConstraint double
return SizeRequest

Property Details

ContentProperty public_oe static_oe property

public static BindableProperty,Microsoft.Maui.Controls ContentProperty
return Microsoft.Maui.Controls.BindableProperty