Class BaseLayoutViewModel
Implements
IReactiveNotifyPropertyChanged<IReactiveObject>
IHandleObservableErrors
IReactiveObject
IEnableLogger
Inherited Members
ReactiveObject.SuppressChangeNotifications()
ReactiveObject.AreChangeNotificationsEnabled()
ReactiveObject.DelayChangeNotifications()
ReactiveObject.Changing
ReactiveObject.Changed
ReactiveObject.ThrownExceptions
ReactiveObject.PropertyChanging
ReactiveObject.PropertyChanged
Namespace: EasySave_Project.ViewModels.Layout
Assembly: .dll
Syntax
public class BaseLayoutViewModel : ReactiveObject, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger
Constructors
| Edit this page View SourceBaseLayoutViewModel()
Declaration
public BaseLayoutViewModel()
Properties
| Edit this page View SourceConecte
Declaration
public string Conecte { get; set; }
Property Value
Type | Description |
---|---|
string |
CurrentDate
Declaration
public string CurrentDate { get; set; }
Property Value
Type | Description |
---|---|
string |
Home
Declaration
public string Home { get; set; }
Property Value
Type | Description |
---|---|
string |
Instance
Declaration
public static BaseLayoutViewModel Instance { get; }
Property Value
Type | Description |
---|---|
BaseLayoutViewModel |
IsLogsVisible
Declaration
public bool IsLogsVisible { get; set; }
Property Value
Type | Description |
---|---|
bool |
Jobs
Declaration
public string Jobs { get; set; }
Property Value
Type | Description |
---|---|
string |
Logs
Declaration
public string Logs { get; set; }
Property Value
Type | Description |
---|---|
string |
NotificationContainer
Declaration
public StackPanel NotificationContainer { get; set; }
Property Value
Type | Description |
---|---|
StackPanel |
Settings
Declaration
public string Settings { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceAddNotification(string)
Adds a notification message, translating it if necessary.
Declaration
public void AddNotification(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The notification message key to be translated and displayed. |
RefreshInstance(Button?, Button?)
Refreshes the instance of the UI by updating values related to buttons and translations.
Declaration
public static void RefreshInstance(Button? logsButton, Button? SettingButton)
Parameters
Type | Name | Description |
---|---|---|
Button | logsButton | The button associated with logs. |
Button | SettingButton | The button associated with settings. |
UpdateValues(Button?, Button?)
Updates the UI elements based on the current language and connection status.
Declaration
public void UpdateValues(Button? logsButton, Button? SettingButton)
Parameters
Type | Name | Description |
---|---|---|
Button | logsButton | The button associated with logs, which may be hidden or shown based on connection status. |
Button | SettingButton | The button associated with settings, which may be hidden or shown based on connection status. |
Implements
ReactiveUI.IReactiveNotifyPropertyChanged<TSender>
ReactiveUI.IHandleObservableErrors
ReactiveUI.IReactiveObject
Splat.IEnableLogger