CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Blazor.PropertyInfo Class Reference

Exposes metastate for a property. More...

Inheritance diagram for Csla.Blazor.PropertyInfo:
Csla.Blazor.IPropertyInfo

Public Member Functions

 PropertyInfo (object model, string propertyName)
 Creates an instance of the type. More...
 
void Refresh ()
 Indicate that all properties have changed to trigger a UI refresh of all values. More...
 

Properties

object Model [get]
 Gets the model More...
 
object Value [getset]
 Gets or sets the value of the property More...
 
string FriendlyName [get]
 Gets the friendly name for the property. More...
 
string PropertyName [get]
 Gets the property name for the property. More...
 
string ErrorText [get]
 Gets the validation error messages for a property on the Model More...
 
string WarningText [get]
 Gets the validation warning messages for a property on the Model More...
 
string InformationText [get]
 Gets the validation information messages for a property on the Model More...
 
bool CanRead [get]
 Gets a value indicating whether the current user is authorized to read the property on the Model More...
 
bool CanWrite [get]
 Gets a value indicating whether the current user is authorized to change the property on the Model More...
 
bool IsBusy [get]
 Gets a value indicating whether the property on the Model is busy More...
 
- Properties inherited from Csla.Blazor.IPropertyInfo
object Value [getset]
 Gets or sets the value of the property More...
 
string FriendlyName [get]
 Gets the friendly name for the property. More...
 
string PropertyName [get]
 Gets the property name for the property. More...
 
string ErrorText [get]
 Gets the validation error messages for a property on the Model More...
 
string WarningText [get]
 Gets the validation warning messages for a property on the Model More...
 
string InformationText [get]
 Gets the validation information messages for a property on the Model More...
 
bool CanRead [get]
 Gets a value indicating whether the current user is authorized to read the property on the Model More...
 
bool CanWrite [get]
 Gets a value indicating whether the current user is authorized to change the property on the Model More...
 
bool IsBusy [get]
 Gets a value indicating whether the property on the Model is busy More...
 

Events

PropertyChangedEventHandler PropertyChanged
 Event raised when a property changes. More...
 
- Events inherited from Csla.Blazor.IPropertyInfo
PropertyChangedEventHandler PropertyChanged
 Event raised when a property changes. More...
 

Detailed Description

Exposes metastate for a property.

Definition at line 16 of file Csla.Blazor/PropertyInfo.cs.

Constructor & Destructor Documentation

◆ PropertyInfo()

Csla.Blazor.PropertyInfo.PropertyInfo ( object  model,
string  propertyName 
)

Creates an instance of the type.

Parameters
modelModel object
propertyNameProperty name

Definition at line 30 of file Csla.Blazor/PropertyInfo.cs.

Member Function Documentation

◆ Refresh()

void Csla.Blazor.PropertyInfo.Refresh ( )

Indicate that all properties have changed to trigger a UI refresh of all values.

Implements Csla.Blazor.IPropertyInfo.

Definition at line 50 of file Csla.Blazor/PropertyInfo.cs.

Property Documentation

◆ CanRead

bool Csla.Blazor.PropertyInfo.CanRead
get

Gets a value indicating whether the current user is authorized to read the property on the Model

Returns

Definition at line 142 of file Csla.Blazor/PropertyInfo.cs.

◆ CanWrite

bool Csla.Blazor.PropertyInfo.CanWrite
get

Gets a value indicating whether the current user is authorized to change the property on the Model

Returns

Definition at line 158 of file Csla.Blazor/PropertyInfo.cs.

◆ ErrorText

string Csla.Blazor.PropertyInfo.ErrorText
get

Gets the validation error messages for a property on the Model

Returns

Definition at line 94 of file Csla.Blazor/PropertyInfo.cs.

◆ FriendlyName

string Csla.Blazor.PropertyInfo.FriendlyName
get

Gets the friendly name for the property.

Definition at line 75 of file Csla.Blazor/PropertyInfo.cs.

◆ InformationText

string Csla.Blazor.PropertyInfo.InformationText
get

Gets the validation information messages for a property on the Model

Returns

Definition at line 126 of file Csla.Blazor/PropertyInfo.cs.

◆ IsBusy

bool Csla.Blazor.PropertyInfo.IsBusy
get

Gets a value indicating whether the property on the Model is busy

Returns

Definition at line 174 of file Csla.Blazor/PropertyInfo.cs.

◆ Model

object Csla.Blazor.PropertyInfo.Model
getprotected

Gets the model

Definition at line 23 of file Csla.Blazor/PropertyInfo.cs.

◆ PropertyName

string Csla.Blazor.PropertyInfo.PropertyName
get

Gets the property name for the property.

Definition at line 87 of file Csla.Blazor/PropertyInfo.cs.

◆ Value

object Csla.Blazor.PropertyInfo.Value
getset

Gets or sets the value of the property

Definition at line 59 of file Csla.Blazor/PropertyInfo.cs.

◆ WarningText

string Csla.Blazor.PropertyInfo.WarningText
get

Gets the validation warning messages for a property on the Model

Returns

Definition at line 110 of file Csla.Blazor/PropertyInfo.cs.

Event Documentation

◆ PropertyChanged

PropertyChangedEventHandler Csla.Blazor.PropertyInfo.PropertyChanged

Event raised when a property changes.

Definition at line 188 of file Csla.Blazor/PropertyInfo.cs.