alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class SamplesViewModel

    Inheritance
    System.Object
    SamplesViewModel
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: SampleBrowser.Maui.Base
    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
    Type
    System.String

    currentSubCategoryName

    Declaration
    public string currentSubCategoryName
    Field Value
    Type
    System.String

    FilterNewSampleCount

    Declaration
    public int FilterNewSampleCount
    Field Value
    Type
    System.Int32

    FilterUpdatedSampleCount

    Declaration
    public int FilterUpdatedSampleCount
    Field Value
    Type
    System.Int32

    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

    ShowcaseDemoListProperty

    Declaration
    public static readonly BindableProperty ShowcaseDemoListProperty
    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
    Type
    System.Collections.ObjectModel.ObservableCollection<ControlCategoryModel>

    AssemblyVersion

    Gets or sets the current assembly version.

    Declaration
    public string AssemblyVersion { get; set; }
    Property Value
    Type
    System.String

    IsImageVisible

    Gets or sets a Boolean value indicating the visibility of the background image.

    Declaration
    public bool IsImageVisible { get; set; }
    Property Value
    Type
    System.Boolean

    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
    Type
    System.String

    SelectedProductType

    Gets or sets the selected Essential Studio product type for the control.

    Declaration
    public string SelectedProductType { get; }
    Property Value
    Type
    System.String

    ShowcaseDemoList

    Declaration
    public ObservableCollection<ControlModel> ShowcaseDemoList { get; set; }
    Property Value
    Type
    System.Collections.ObjectModel.ObservableCollection<ControlModel>

    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
    Type
    SortOption

    UpdatedSortedList

    Declaration
    public ObservableCollection<ControlModel> UpdatedSortedList { get; set; }
    Property Value
    Type
    System.Collections.ObjectModel.ObservableCollection<ControlModel>

    Methods

    CheckForModel(Object, XmlElement)

    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
    Type
    ControlModel

    CreateSampleModel(XmlElement)

    Declaration
    public SampleModel CreateSampleModel(XmlElement xmlSampleElement)
    Parameters
    Type Name Description
    System.Xml.XmlElement xmlSampleElement
    Returns
    Type
    SampleModel

    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
    Type Name Description
    SampleCategoryModel catagoryModel
    ControlModel controlModel
    Returns
    Type
    SampleCategoryModel

    GetControlCategoryModel(String)

    Declaration
    public ControlCategoryModel GetControlCategoryModel(string controlCategoryModelName)
    Parameters
    Type Name Description
    System.String controlCategoryModelName
    Returns
    Type
    ControlCategoryModel

    GetControlModel(ControlModel, ControlCategoryModel)

    Declaration
    public static ControlModel GetControlModel(ControlModel controlModel, ControlCategoryModel controlCategoryModel)
    Parameters
    Type Name Description
    ControlModel controlModel
    ControlCategoryModel controlCategoryModel
    Returns
    Type
    ControlModel

    GetDummayCardLayoutModel()

    Declaration
    public static CardLayoutModel GetDummayCardLayoutModel()
    Returns
    Type
    CardLayoutModel

    GetDummySampleCategoryModel()

    Declaration
    public static SampleCategoryModel GetDummySampleCategoryModel()
    Returns
    Type
    SampleCategoryModel

    GetDummySampleSubCategoryModel()

    Declaration
    public static SampleSubCategoryModel GetDummySampleSubCategoryModel()
    Returns
    Type
    SampleSubCategoryModel

    GetSubCategoryModel(SampleSubCategoryModel, SampleCategoryModel)

    Declaration
    public static SampleSubCategoryModel GetSubCategoryModel(SampleSubCategoryModel catagorySubModel, SampleCategoryModel categoryModel)
    Parameters
    Type Name Description
    SampleSubCategoryModel catagorySubModel
    SampleCategoryModel categoryModel
    Returns
    Type
    SampleSubCategoryModel

    ReadStream(Stream)

    Declaration
    public void ReadStream(Stream controlListStream)
    Parameters
    Type Name Description
    System.IO.Stream controlListStream

    Events

    PropertyChanged

    Occurs when a property value changes.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved