Class SamplesViewModel
Inheritance
System.Object
SamplesViewModel
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: SampleBrowser.Maui.Base.dll
Syntax
public class SamplesViewModel : Element, INotifyPropertyChanged
Constructors
SamplesViewModel()
Declaration
public SamplesViewModel()
Fields
AllControlCategoriesProperty
Declaration
public static readonly BindableProperty AllControlCategoriesProperty
Field Value
Type |
Microsoft.Maui.Controls.BindableProperty |
currentCategoryName
Declaration
public string currentCategoryName
Field Value
currentSubCategoryName
Declaration
public string currentSubCategoryName
Field Value
FilterNewSampleCount
Declaration
public int FilterNewSampleCount
Field Value
FilterUpdatedSampleCount
Declaration
public int FilterUpdatedSampleCount
Field Value
MainPageListProperty
Declaration
public static readonly BindableProperty MainPageListProperty
Field Value
Type |
Microsoft.Maui.Controls.BindableProperty |
SearchListProperty
Declaration
public static readonly BindableProperty SearchListProperty
Field Value
Type |
Microsoft.Maui.Controls.BindableProperty |
SearchTextProperty
Declaration
public static readonly BindableProperty SearchTextProperty
Field Value
Type |
Microsoft.Maui.Controls.BindableProperty |
SortedListNewProperty
Declaration
public static readonly BindableProperty SortedListNewProperty
Field Value
Type |
Microsoft.Maui.Controls.BindableProperty |
SortedListProperty
Declaration
public static readonly BindableProperty SortedListProperty
Field Value
Type |
Microsoft.Maui.Controls.BindableProperty |
SortedListUpdatedProperty
Declaration
public static readonly BindableProperty SortedListUpdatedProperty
Field Value
Type |
Microsoft.Maui.Controls.BindableProperty |
SortOptionProperty
Declaration
public static readonly BindableProperty SortOptionProperty
Field Value
Type |
Microsoft.Maui.Controls.BindableProperty |
UpdatedSortedListProperty
Declaration
public static readonly BindableProperty UpdatedSortedListProperty
Field Value
Type |
Microsoft.Maui.Controls.BindableProperty |
Properties
AllControlCategories
Declaration
public ObservableCollection<ControlCategoryModel> AllControlCategories { get; set; }
Property Value
MainPageList
Declaration
public ObservableCollection<object> MainPageList { get; set; }
Property Value
Type |
System.Collections.ObjectModel.ObservableCollection<System.Object> |
SearchList
Declaration
public ObservableCollection<SearchModel> SearchList { get; set; }
Property Value
Type |
System.Collections.ObjectModel.ObservableCollection<SearchModel> |
SearchText
Declaration
public string SearchText { get; set; }
Property Value
SortedList
Declaration
public ObservableCollection<SearchModel> SortedList { get; set; }
Property Value
Type |
System.Collections.ObjectModel.ObservableCollection<SearchModel> |
SortedListNew
Declaration
public ObservableCollection<SearchModel> SortedListNew { get; set; }
Property Value
Type |
System.Collections.ObjectModel.ObservableCollection<SearchModel> |
SortedListUpdated
Declaration
public ObservableCollection<SearchModel> SortedListUpdated { get; set; }
Property Value
Type |
System.Collections.ObjectModel.ObservableCollection<SearchModel> |
SortOption
Declaration
public SortOption SortOption { get; set; }
Property Value
UpdatedSortedList
Declaration
public ObservableCollection<ControlModel> UpdatedSortedList { get; set; }
Property Value
Type |
System.Collections.ObjectModel.ObservableCollection<ControlModel> |
Methods
Declaration
public void CheckForModel(object ItemModel, XmlElement xmlElement)
Parameters
Type |
Name |
Description |
System.Object |
ItemModel |
|
System.Xml.XmlElement |
xmlElement |
|
CreateControlModelObject(XmlElement)
Declaration
public ControlModel CreateControlModelObject(XmlElement xmlElement)
Parameters
Type |
Name |
Description |
System.Xml.XmlElement |
xmlElement |
|
Returns
CreateSampleModel(XmlElement)
Declaration
public SampleModel CreateSampleModel(XmlElement xmlSampleElement)
Parameters
Type |
Name |
Description |
System.Xml.XmlElement |
xmlSampleElement |
|
Returns
DirectCardLayoutModel(Object, XmlElement)
Declaration
public void DirectCardLayoutModel(object itemModel, XmlElement xmlCardElement)
Parameters
Type |
Name |
Description |
System.Object |
itemModel |
|
System.Xml.XmlElement |
xmlCardElement |
|
DirectSampleCategoryModel(Object, XmlElement)
Declaration
public void DirectSampleCategoryModel(object itemModel, XmlElement xmlCateGoryElement)
Parameters
Type |
Name |
Description |
System.Object |
itemModel |
|
System.Xml.XmlElement |
xmlCateGoryElement |
|
DirectSampleModel(Object, XmlElement)
Declaration
public void DirectSampleModel(object itemModel, XmlElement xmlElement)
Parameters
Type |
Name |
Description |
System.Object |
itemModel |
|
System.Xml.XmlElement |
xmlElement |
|
DirectSampleSubCategoryModel(Object, XmlElement)
Declaration
public void DirectSampleSubCategoryModel(object itemModel, XmlElement xmlSubCateGoryElement)
Parameters
Type |
Name |
Description |
System.Object |
itemModel |
|
System.Xml.XmlElement |
xmlSubCateGoryElement |
|
GetCategoryModel(SampleCategoryModel, ControlModel)
Declaration
public static SampleCategoryModel GetCategoryModel(SampleCategoryModel catagoryModel, ControlModel controlModel)
Parameters
Returns
GetControlCategoryModel(String)
Declaration
public ControlCategoryModel GetControlCategoryModel(string controlCategoryModelName)
Parameters
Type |
Name |
Description |
System.String |
controlCategoryModelName |
|
Returns
GetControlModel(ControlModel, ControlCategoryModel)
Declaration
public static ControlModel GetControlModel(ControlModel controlModel, ControlCategoryModel controlCategoryModel)
Parameters
Returns
GetDummayCardLayoutModel()
Declaration
public static CardLayoutModel GetDummayCardLayoutModel()
Returns
GetDummySampleCategoryModel()
Declaration
public static SampleCategoryModel GetDummySampleCategoryModel()
Returns
GetDummySampleSubCategoryModel()
Declaration
public static SampleSubCategoryModel GetDummySampleSubCategoryModel()
Returns
GetSubCategoryModel(SampleSubCategoryModel, SampleCategoryModel)
Declaration
public static SampleSubCategoryModel GetSubCategoryModel(SampleSubCategoryModel catagorySubModel, SampleCategoryModel categoryModel)
Parameters
Returns
ReadStream(Stream)
Declaration
public void ReadStream(Stream controlListStream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
controlListStream |
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged