Search Results for

    Show / Hide Table of Contents

    Class RegexProperty

    Validate using a regular expression

    Inheritance
    System.Object
    ViewModelBase
    RegexProperty
    Implements
    UI.MVC.IViewModelBase
    System.ComponentModel.INotifyPropertyChanged
    IAsyncViewModel
    IPropertyValidator
    Inherited Members
    ViewModelBase.PropertyChanged
    ViewModelBase.RaisePropertyChanged(String)
    ViewModelBase.PropertySetter<T>(T, Action<T>, Boolean, Boolean, Boolean, String)
    ViewModelBase.OnClose()
    ViewModelBase.IsBusy
    ViewModelBase.IsDirty
    ViewModelBase.ForceSave
    ViewModelBase.Parent
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.UI.MVC
    Assembly: Simplic.UI.dll
    Syntax
    public class RegexProperty : ViewModelBase, IViewModelBase, INotifyPropertyChanged, IAsyncViewModel, IPropertyValidator

    Properties

    | Improve this Doc View Source

    Message

    Gets the error message

    Declaration
    [Browsable(false)]
    public IValidationErrorMessage Message { get; }
    Property Value
    Type Description
    IValidationErrorMessage
    | Improve this Doc View Source

    Name

    Gets the name of the validator

    Declaration
    [Browsable(false)]
    public string Name { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    RegexString

    Gets or sets the regular expression

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

    Methods

    | Improve this Doc View Source

    Validate(Object)

    Check whether a string is not null and does not only contains white spaces

    Declaration
    public bool Validate(object value)
    Parameters
    Type Name Description
    System.Object value

    Value to check

    Returns
    Type Description
    System.Boolean

    True if value does not only contain white-spaces

    Implements

    IViewModelBase
    System.ComponentModel.INotifyPropertyChanged
    IAsyncViewModel
    IPropertyValidator
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx