Positioned クラス
Stackの子へ辺からの距離または固定寸法を指定します。
名前空間: FloatSoda.Widgets.Layout
アセンブリ: FloatSoda.dll
public sealed record Positioned : ParentDataWidget<StackParentData>, IEquatable<Widget>, IEquatable<ProxyWidget>, IEquatable<ParentDataWidget<StackParentData>>, IEquatable<Positioned>object ← Widget ← ProxyWidget ← ParentDataWidget<StackParentData> ← Positioned
実装するインターフェイス
Section titled “実装するインターフェイス”IEquatable<Widget>, IEquatable<ProxyWidget>, IEquatable<ParentDataWidget<StackParentData>>, IEquatable<Positioned>
継承したメンバー
Section titled “継承したメンバー”ParentDataWidget<StackParentData>.CreateElement(), ParentDataWidget<StackParentData>.ApplyParentData(RenderObject), ProxyWidget.Child, Widget.Key, Widget.CanUpdate(Widget, Widget), Widget.CreateElement(), Widget.GetHashCode(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Stackの直接の子として使用します。
Bottom
Section titled “Bottom”Stack下端から子の下端までの距離を取得します。
public double? Bottom { get; init; }プロパティの値
Section titled “プロパティの値”Height
Section titled “Height”子へ要求する高さを取得します。
public double? Height { get; init; }プロパティの値
Section titled “プロパティの値”Stack左端から子の左端までの距離を取得します。
public double? Left { get; init; }プロパティの値
Section titled “プロパティの値”Stack右端から子の右端までの距離を取得します。
public double? Right { get; init; }プロパティの値
Section titled “プロパティの値”Stack上端から子の上端までの距離を取得します。
public double? Top { get; init; }プロパティの値
Section titled “プロパティの値”子へ要求する幅を取得します。
public double? Width { get; init; }プロパティの値
Section titled “プロパティの値”ApplyParentData(StackParentData)
Section titled “ApplyParentData(StackParentData)”Widget固有の値をParentDataへ反映し、値が変更されたかを返します。
protected override bool ApplyParentData(StackParentData parentData)パラメーター
Section titled “パラメーター”parentData StackParentData
親RenderObjectによって子へ用意されたParentData。
ParentDataを変更した場合はtrue。変更がない場合はfalse。
trueを返すと、基底実装が親RenderObjectへレイアウト更新を要求します。