Update TileItem.cs
This commit is contained in:
Родитель
b467180bbc
Коммит
8b783f63d5
|
@ -22,9 +22,21 @@ namespace GridDemo
|
|||
{
|
||||
this.RaiseAndSetIfChanged(ref _tilePresetIndex, value);
|
||||
this.RaisePropertyChanged(nameof(CurrentTilePreset));
|
||||
this.RaisePropertyChanged(nameof(Column));
|
||||
this.RaisePropertyChanged(nameof(Row));
|
||||
this.RaisePropertyChanged(nameof(ColumnSpan));
|
||||
this.RaisePropertyChanged(nameof(RowSpan));
|
||||
}
|
||||
}
|
||||
|
||||
public int Column => CurrentTilePreset.Column;
|
||||
|
||||
public int Row => CurrentTilePreset.Row;
|
||||
|
||||
public int ColumnSpan => CurrentTilePreset.ColumnSpan;
|
||||
|
||||
public int RowSpan => CurrentTilePreset.RowSpan;
|
||||
|
||||
public TilePreset CurrentTilePreset => TilePresets[TilePresetIndex];
|
||||
|
||||
public IBrush Background { get; set; }
|
||||
|
|
Загрузка…
Ссылка в новой задаче