You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
567 B
18 lines
567 B
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Media.Imaging;
|
|
|
|
namespace AIK.Models.BannerModels
|
|
{
|
|
public partial class BannerItem : ObservableObject
|
|
{
|
|
[ObservableProperty] private bool _isSelected;
|
|
[ObservableProperty] private string? _imagePath;
|
|
[ObservableProperty] private BitmapImage? _bitmapImage;
|
|
public int Index { get; set; } // 仅用于命令参数,不参与 UI 触发
|
|
}
|
|
}
|
|
|