RelativeLayout.IRelativeList<T>.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Add(T, Expression<Func<Rect>>) | |
Add(T, Constraint, Constraint, Constraint, Constraint) | |
Add(T, Expression<Func<Double>>, Expression<Func<Double>>, Expression<Func<Double>>, Expression<Func<Double>>) |
Add(T, Expression<Func<Rect>>)
- Source:
- RelativeLayout.cs
- Source:
- RelativeLayout.cs
public:
void Add(T view, System::Linq::Expressions::Expression<Func<Microsoft::Maui::Graphics::Rect> ^> ^ bounds);
public void Add (T view, System.Linq.Expressions.Expression<Func<Microsoft.Maui.Graphics.Rect>> bounds);
abstract member Add : 'T * System.Linq.Expressions.Expression<Func<Microsoft.Maui.Graphics.Rect>> -> unit
Public Sub Add (view As T, bounds As Expression(Of Func(Of Rect)))
Parameters
- view
- T
- bounds
- Expression<Func<Rect>>
Applies to
Add(T, Constraint, Constraint, Constraint, Constraint)
- Source:
- RelativeLayout.cs
- Source:
- RelativeLayout.cs
public void Add (T view, Microsoft.Maui.Controls.Compatibility.Constraint xConstraint = default, Microsoft.Maui.Controls.Compatibility.Constraint yConstraint = default, Microsoft.Maui.Controls.Compatibility.Constraint widthConstraint = default, Microsoft.Maui.Controls.Compatibility.Constraint heightConstraint = default);
abstract member Add : 'T * Microsoft.Maui.Controls.Compatibility.Constraint * Microsoft.Maui.Controls.Compatibility.Constraint * Microsoft.Maui.Controls.Compatibility.Constraint * Microsoft.Maui.Controls.Compatibility.Constraint -> unit
Public Sub Add (view As T, Optional xConstraint As Constraint = Nothing, Optional yConstraint As Constraint = Nothing, Optional widthConstraint As Constraint = Nothing, Optional heightConstraint As Constraint = Nothing)
Parameters
- view
- T
- xConstraint
- Constraint
- yConstraint
- Constraint
- widthConstraint
- Constraint
- heightConstraint
- Constraint
Applies to
Add(T, Expression<Func<Double>>, Expression<Func<Double>>, Expression<Func<Double>>, Expression<Func<Double>>)
- Source:
- RelativeLayout.cs
- Source:
- RelativeLayout.cs
public void Add (T view, System.Linq.Expressions.Expression<Func<double>> x = default, System.Linq.Expressions.Expression<Func<double>> y = default, System.Linq.Expressions.Expression<Func<double>> width = default, System.Linq.Expressions.Expression<Func<double>> height = default);
abstract member Add : 'T * System.Linq.Expressions.Expression<Func<double>> * System.Linq.Expressions.Expression<Func<double>> * System.Linq.Expressions.Expression<Func<double>> * System.Linq.Expressions.Expression<Func<double>> -> unit
Public Sub Add (view As T, Optional x As Expression(Of Func(Of Double)) = Nothing, Optional y As Expression(Of Func(Of Double)) = Nothing, Optional width As Expression(Of Func(Of Double)) = Nothing, Optional height As Expression(Of Func(Of Double)) = Nothing)
Parameters
- view
- T
- x
- Expression<Func<Double>>
- y
- Expression<Func<Double>>
- width
- Expression<Func<Double>>
- height
- Expression<Func<Double>>
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.