1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- namespace HistoryView.Controls.FileSelector;
- /// <summary>
- /// Interaction logic for FileVertical.xaml
- /// </summary>
- public partial class FileVertical : UserControl
- {
- public FileVertical()
- {
- InitializeComponent();
- }
- public object ImageSource
- {
- get { return (object)GetValue(ImageSourceProperty); }
- set { SetValue(ImageSourceProperty, value); }
- }
- // Using a DependencyProperty as the backing store for ImageSource. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty ImageSourceProperty =
- DependencyProperty.Register("ImageSource", typeof(object), typeof(FileVertical), new PropertyMetadata(default));
- public string FileType
- {
- get { return (string)GetValue(FileTypeProperty); }
- set { SetValue(FileTypeProperty, value); }
- }
- // Using a DependencyProperty as the backing store for FileType. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty FileTypeProperty =
- DependencyProperty.Register("FileType", typeof(string), typeof(FileVertical), new PropertyMetadata(default));
- public string FileName
- {
- get { return (string)GetValue(FileNameProperty); }
- set { SetValue(FileNameProperty, value); }
- }
- // Using a DependencyProperty as the backing store for FileName. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty FileNameProperty =
- DependencyProperty.Register("FileName", typeof(string), typeof(FileVertical), new PropertyMetadata(default));
- }
|