C# 클래스 Habanero.Faces.Base.DateTimePickerManager

This manager groups common logic for IDateTimePicker control. Do not use this object in working code - rather call CreateDateTimePicker in the appropriate control factory.
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ApplyBlankFormat bool
ApplyValueFormat bool
FireValueChanged void
GetDateTimePickerValue System.DateTime
IsNull bool
ResizeNullDisplayBox void
SetDateTimePickerValue void
SetupNullDisplayBox void

공개 메소드들

메소드 설명
ChangeToNullMode ( ) : bool

Changes the DatetTimePicker control to the null mode

ChangeToValueMode ( ) : bool

Changes the DatetTimePicker control to the value mode

DateTimePickerManager ( IControlFactory controlFactory, IDateTimePicker dateTimePicker, ValueGetter valueGetter, ValueSetter valueSetter ) : System

The Constructor for the DateTimePickerManager

OnResize ( EventArgs eventargs ) : void

Handles the event of the DateTimePicker's size being changed

OnValueChanged ( EventArgs eventArgs ) : void

Handles the event of the DateTime value being changed

UpdateFocusState ( ) : void

Updates the Focus state for the control

비공개 메소드들

메소드 설명
ApplyBlankFormat ( ) : bool
ApplyValueFormat ( ) : bool
FireValueChanged ( ) : void
GetDateTimePickerValue ( ) : System.DateTime
IsNull ( ) : bool

Occurs when the Value property changes.

ResizeNullDisplayBox ( ) : void
SetDateTimePickerValue ( System.DateTime value ) : void
SetupNullDisplayBox ( ) : void

메소드 상세

ChangeToNullMode() 공개 메소드

Changes the DatetTimePicker control to the null mode
public ChangeToNullMode ( ) : bool
리턴 bool

ChangeToValueMode() 공개 메소드

Changes the DatetTimePicker control to the value mode
public ChangeToValueMode ( ) : bool
리턴 bool

DateTimePickerManager() 공개 메소드

The Constructor for the DateTimePickerManager
public DateTimePickerManager ( IControlFactory controlFactory, IDateTimePicker dateTimePicker, ValueGetter valueGetter, ValueSetter valueSetter ) : System
controlFactory IControlFactory
dateTimePicker IDateTimePicker
valueGetter ValueGetter
valueSetter ValueSetter
리턴 System

OnResize() 공개 메소드

Handles the event of the DateTimePicker's size being changed
public OnResize ( EventArgs eventargs ) : void
eventargs System.EventArgs
리턴 void

OnValueChanged() 공개 메소드

Handles the event of the DateTime value being changed
public OnValueChanged ( EventArgs eventArgs ) : void
eventArgs System.EventArgs
리턴 void

UpdateFocusState() 공개 메소드

Updates the Focus state for the control
public UpdateFocusState ( ) : void
리턴 void