Class TextModuleViewModel
Represents a TextModuleViewModel.
Inherited Members
Namespace: Simplic.Framework.UI
Assembly: Simplic.Framework.Base.dll
Syntax
public class TextModuleViewModel : ExtendableViewModel, IPyExtendableViewModel, ICustomAddonViewModel
Constructors
| Improve this Doc View SourceTextModuleViewModel(TextModule)
Initialize instance.
Declaration
public TextModuleViewModel(TextModule model)
Parameters
Type | Name | Description |
---|---|---|
TextModule | model |
Properties
| Improve this Doc View SourceAddonViewModel
Gets or sets the addon viewmodel.
Declaration
public TextModuleAddonViewModel AddonViewModel { get; set; }
Property Value
Type | Description |
---|---|
TextModuleAddonViewModel |
GroupName
Gets or sets the model property GroupName as string.
Declaration
public string GroupName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HtmlTextVisibility
Gets or setst the html text visibility.
Declaration
public Visibility HtmlTextVisibility { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
Id
Gets or sets the model property Id as Guid.
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Model
Gets the model instance.
Declaration
public TextModule Model { get; }
Property Value
Type | Description |
---|---|
TextModule |
Name
Gets or sets the model property Name as string.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Number
Gets or sets the model property Number as int.
Declaration
public int Number { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SelectedTextMode
String of the selected text mode.
Declaration
public string SelectedTextMode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TextModes
Gets or sets the text modes as a string for the combobox.
Declaration
public ObservableCollection<string> TextModes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<System.String> |
TextSelected
Gets or sets a bool value if the html code mode is select or html text mode. Also changes the html text and code visibilities.
Declaration
public bool TextSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
TextValue
Gets or sets the model property TextValue as string.
Declaration
public string TextValue { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TextVisibility
Gets or sets the html code visibility.
Declaration
public Visibility TextVisibility { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
Methods
| Improve this Doc View SourceGetAddonPrimaryKey()
Get the primary key of the table TextModule_Addon.
Declaration
public object GetAddonPrimaryKey()
Returns
Type | Description |
---|---|
System.Object |
Explicit Interface Implementations
| Improve this Doc View SourceICustomAddonViewModel.AddonViewModel
Gets or sets AddonViewModel.
Declaration
AddonViewModel ICustomAddonViewModel.AddonViewModel { get; set; }
Returns
Type | Description |
---|---|
AddonViewModel |