Show / Hide Table of Contents

Class ScalarInput<T>

Represents the handler of scalar level two way data binding flushing from view to presenter.

Inheritance
System.Object
Input<ScalarBinding, IScalars>
Input<T, ScalarBinding, IScalars>
ScalarInput<T>
Inherited Members
Input<T, ScalarBinding, IScalars>.GetFlushingError(UIElement)
Input<T, ScalarBinding, IScalars>.IsFlushing
Input<ScalarBinding, IScalars>.Binding
Input<ScalarBinding, IScalars>.Target
Input<ScalarBinding, IScalars>.Index
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: DevZest.Data.Presenters
Assembly: DevZest.Data.WPF.dll
Syntax
public class ScalarInput<T> : Input<T, ScalarBinding, IScalars> where T : UIElement, new()
Type Parameters
Name Description
T

The type of view element.

Properties

Name Description
Binding
ScalarBinding

Gets the scalar binding.

Target

Methods

Name Description
EndInput()

Ends the input implementation.

GetFlushingError(UIElement)
GetValidationInfo(Int32)

Gets the validation info.

HasValidationError(Int32)

Determines whether validation error exists.

WithFlush(Scalar, Func<T, Boolean>)

Setup the flushing operation.

WithFlush<TData>(Scalar<TData>, Func<T, TData>)

Setup the flushing operation.

WithFlushingValidator(Func<T, String>)

Sets flushing validator.

Extension Methods

BindingFactory.BindToValidationErrorsControl<T>(ScalarInput<T>)
  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest