Format ResponsivePanel code
MODIFY
WalletWasabi.Fluent/Controls/ResponsivePanel.cs
WalletWasabi.Fluent/Controls/ResponsivePanel.cs
@@ -17,10 +17,12 @@ namespace WalletWasabi.Fluent.Controls
AvaloniaProperty.Register<ResponsivePanel, double>(nameof(AspectRatio), double.NaN);
public static readonly StyledProperty<AvaloniaList<int>> ColumnHintsProperty =
- AvaloniaProperty.Register<ResponsivePanel, AvaloniaList<int>>(nameof(ColumnHints), new AvaloniaList<int>() { 1 });
+ AvaloniaProperty.Register<ResponsivePanel, AvaloniaList<int>>(nameof(ColumnHints),
+ new AvaloniaList<int>() {1});
public static readonly StyledProperty<AvaloniaList<double>> WidthTriggersProperty =
- AvaloniaProperty.Register<ResponsivePanel, AvaloniaList<double>>(nameof(WidthTriggers), new AvaloniaList<double>() { 0.0 });
+ AvaloniaProperty.Register<ResponsivePanel, AvaloniaList<double>>(nameof(WidthTriggers),
+ new AvaloniaList<double>() {0.0});
public static readonly AttachedProperty<AvaloniaList<int>> ColumnSpanProperty =
AvaloniaProperty.RegisterAttached<ResponsivePanel, Control, AvaloniaList<int>>("ColumnSpan", new AvaloniaList<int>() {1});
@@ -84,10 +86,30 @@ namespace WalletWasabi.Fluent.Controls
static ResponsivePanel()
{
- AffectsParentMeasure<ResponsivePanel>(AspectRatioProperty, ColumnHintsProperty, WidthTriggersProperty, ColumnSpanProperty, RowSpanProperty);
- AffectsParentArrange<ResponsivePanel>(AspectRatioProperty, ColumnHintsProperty, WidthTriggersProperty, ColumnSpanProperty, RowSpanProperty);
- AffectsMeasure<ResponsivePanel>(AspectRatioProperty, ColumnHintsProperty, WidthTriggersProperty, ColumnSpanProperty, RowSpanProperty);
- AffectsArrange<ResponsivePanel>(AspectRatioProperty, ColumnHintsProperty, WidthTriggersProperty, ColumnSpanProperty, RowSpanProperty);
+ AffectsParentMeasure<ResponsivePanel>(
+ AspectRatioProperty,
+ ColumnHintsProperty,
+ WidthTriggersProperty,
+ ColumnSpanProperty,
+ RowSpanProperty);
+ AffectsParentArrange<ResponsivePanel>(
+ AspectRatioProperty,
+ ColumnHintsProperty,
+ WidthTriggersProperty,
+ ColumnSpanProperty,
+ RowSpanProperty);
+ AffectsMeasure<ResponsivePanel>(
+ AspectRatioProperty,
+ ColumnHintsProperty,
+ WidthTriggersProperty,
+ ColumnSpanProperty,
+ RowSpanProperty);
+ AffectsArrange<ResponsivePanel>(
+ AspectRatioProperty,
+ ColumnHintsProperty,
+ WidthTriggersProperty,
+ ColumnSpanProperty,
+ RowSpanProperty);
}
private struct Item

Format ResponsivePanel code