C# Класс FarsiLibrary.Win.Controls.FAMonthView

Наследование: FarsiLibrary.Win.BaseClasses.BaseDateControl
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddActiveRect void
AddActiveRect void
DrawDayValue void
FindActiveRectByPoint ActRect
FindActiveRectByTag ActRect
GetVisibleButtonCount int
OnDrawBody void
OnDrawBorder void
OnDrawFooter void
OnDrawFooterButtons void
OnDrawHeader void
OnDrawMonthHeader void
OnDrawYearHeader void
OnEnterPressed void
OnInternalMouseClick void
OnInternalMouseDown void
OnLocalizerChanged void
OnRecalculateRequired void
OnRectangleClick void
OnSelectionClick void
OnSelectionCollectionChanged void
RecalculateSelectionDown void
RecalculateSelectionLeft void
RecalculateSelectionRight void
RecalculateSelectionUp void
ResetActiveRectanglesState void
ResetAllRectangleStates void
ResetFocusedRectangleState void
ResetSelectedRectangleState void
SetFocusOnNextControl void
SetFocusOnPrevControl void

Открытые методы

Метод Описание
FAMonthView ( ) : System

Creates a new instance of FAMonthView for normal mode usage.

FAMonthView ( bool popupMode ) : System

Creates a new instance of FAMonthView class. Initiated control could be uses in PopupMode or Normal mode, depending on the use.

HitTest ( Point location ) : FocusedPart

Returns the part of the control that is tested.

ScrollDaysDown ( ) : void

Scrolls days in the view to the Down.

ScrollDaysLeft ( ) : void

Scrolls days in the view to the Left.

ScrollDaysRight ( ) : void

Scrolls days in the view to the Right.

ScrollDaysUp ( ) : void

Scrolls days in the view to the Up.

SetNoneDay ( ) : void

Clears the selection of the control. Also clears any selected date in MultiSelect mode.

SetTodayDay ( ) : void

Sets the selection value to Today.

ShouldSerializeAnchor ( ) : bool

Determines to serialize Anchor property or not

ShouldSerializeSelectedDateRange ( ) : bool

Determines to serialize SelectedDateRange property or not.

ShouldSerializeSize ( ) : bool

Determines to serialize Size property or not.

ToNextMonth ( ) : void

Changes the Month value to the Next Month.

ToNextYear ( ) : void

Changes the Year value to the Next Year.

ToPrevMonth ( ) : void

Changes the Month value to the Previous Month.

ToPrevYear ( ) : void

Changes the Year value to the Previous Year.

Защищенные методы

Метод Описание
OnButtonClicked ( CalendarButtonClickedEventArgs e ) : void
OnDoubleClick ( EventArgs e ) : void
OnDrawCurrentDay ( CustomDrawDayEventArgs e ) : void
OnGotFocus ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseClick ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs pe ) : void
OnPaintBackground ( PaintEventArgs pevent ) : void
OnResize ( EventArgs e ) : void

Executed when control is resized.

OnSelectedDateRangeChanged ( SelectedDateRangeChangedEventArgs e ) : void
OnSelectedDateTimeChanged ( EventArgs e ) : void

Приватные методы

Метод Описание
AddActiveRect ( Rectangle rc, FocusedPart action ) : void
AddActiveRect ( Rectangle rc, FocusedPart action, object tag ) : void
DrawDayValue ( Graphics g, int day, Rectangle rcHead ) : void
FindActiveRectByPoint ( Point pnt ) : ActRect
FindActiveRectByTag ( object tag ) : ActRect
GetVisibleButtonCount ( ) : int
OnDrawBody ( PaintEventArgs pevent ) : void
OnDrawBorder ( PaintEventArgs e ) : void
OnDrawFooter ( PaintEventArgs pevent ) : void
OnDrawFooterButtons ( PaintEventArgs pevent ) : void
OnDrawHeader ( PaintEventArgs pevent ) : void
OnDrawMonthHeader ( PaintEventArgs pevent ) : void
OnDrawYearHeader ( PaintEventArgs pevent ) : void
OnEnterPressed ( ) : void
OnInternalMouseClick ( Point location ) : void
OnInternalMouseDown ( Point mousePoint ) : void
OnLocalizerChanged ( object sender, EventArgs e ) : void
OnRecalculateRequired ( ) : void
OnRectangleClick ( ActRect rc ) : void
OnSelectionClick ( ActRect rc ) : void
OnSelectionCollectionChanged ( object sender, CollectionChangedEventArgs e ) : void
RecalculateSelectionDown ( ) : void
RecalculateSelectionLeft ( ) : void
RecalculateSelectionRight ( ) : void
RecalculateSelectionUp ( ) : void
ResetActiveRectanglesState ( ) : void
ResetAllRectangleStates ( ) : void
ResetFocusedRectangleState ( ) : void
ResetSelectedRectangleState ( ) : void
SetFocusOnNextControl ( ) : void
SetFocusOnPrevControl ( ) : void

Описание методов

FAMonthView() публичный Метод

Creates a new instance of FAMonthView for normal mode usage.
public FAMonthView ( ) : System
Результат System

FAMonthView() публичный Метод

Creates a new instance of FAMonthView class. Initiated control could be uses in PopupMode or Normal mode, depending on the use.
public FAMonthView ( bool popupMode ) : System
popupMode bool
Результат System

HitTest() публичный Метод

Returns the part of the control that is tested.
public HitTest ( Point location ) : FocusedPart
location Point
Результат FocusedPart

OnButtonClicked() защищенный Метод

protected OnButtonClicked ( CalendarButtonClickedEventArgs e ) : void
e CalendarButtonClickedEventArgs
Результат void

OnDoubleClick() защищенный Метод

protected OnDoubleClick ( EventArgs e ) : void
e EventArgs
Результат void

OnDrawCurrentDay() защищенный Метод

protected OnDrawCurrentDay ( CustomDrawDayEventArgs e ) : void
e CustomDrawDayEventArgs
Результат void

OnGotFocus() защищенный Метод

protected OnGotFocus ( EventArgs e ) : void
e EventArgs
Результат void

OnKeyDown() защищенный Метод

protected OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs
Результат void

OnLostFocus() защищенный Метод

protected OnLostFocus ( EventArgs e ) : void
e EventArgs
Результат void

OnMouseClick() защищенный Метод

protected OnMouseClick ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void

OnMouseEnter() защищенный Метод

protected OnMouseEnter ( EventArgs e ) : void
e EventArgs
Результат void

OnMouseLeave() защищенный Метод

protected OnMouseLeave ( EventArgs e ) : void
e EventArgs
Результат void

OnMouseMove() защищенный Метод

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void

OnMouseWheel() защищенный Метод

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void

OnPaint() защищенный Метод

protected OnPaint ( PaintEventArgs pe ) : void
pe PaintEventArgs
Результат void

OnPaintBackground() защищенный Метод

protected OnPaintBackground ( PaintEventArgs pevent ) : void
pevent PaintEventArgs
Результат void

OnResize() защищенный Метод

Executed when control is resized.
protected OnResize ( EventArgs e ) : void
e EventArgs
Результат void

OnSelectedDateRangeChanged() защищенный Метод

protected OnSelectedDateRangeChanged ( SelectedDateRangeChangedEventArgs e ) : void
e SelectedDateRangeChangedEventArgs
Результат void

OnSelectedDateTimeChanged() защищенный Метод

protected OnSelectedDateTimeChanged ( EventArgs e ) : void
e EventArgs
Результат void

ScrollDaysDown() публичный Метод

Scrolls days in the view to the Down.
public ScrollDaysDown ( ) : void
Результат void

ScrollDaysLeft() публичный Метод

Scrolls days in the view to the Left.
public ScrollDaysLeft ( ) : void
Результат void

ScrollDaysRight() публичный Метод

Scrolls days in the view to the Right.
public ScrollDaysRight ( ) : void
Результат void

ScrollDaysUp() публичный Метод

Scrolls days in the view to the Up.
public ScrollDaysUp ( ) : void
Результат void

SetNoneDay() публичный Метод

Clears the selection of the control. Also clears any selected date in MultiSelect mode.
public SetNoneDay ( ) : void
Результат void

SetTodayDay() публичный Метод

Sets the selection value to Today.
public SetTodayDay ( ) : void
Результат void

ShouldSerializeAnchor() публичный Метод

Determines to serialize Anchor property or not
public ShouldSerializeAnchor ( ) : bool
Результат bool

ShouldSerializeSelectedDateRange() публичный Метод

Determines to serialize SelectedDateRange property or not.
public ShouldSerializeSelectedDateRange ( ) : bool
Результат bool

ShouldSerializeSize() публичный Метод

Determines to serialize Size property or not.
public ShouldSerializeSize ( ) : bool
Результат bool

ToNextMonth() публичный Метод

Changes the Month value to the Next Month.
public ToNextMonth ( ) : void
Результат void

ToNextYear() публичный Метод

Changes the Year value to the Next Year.
public ToNextYear ( ) : void
Результат void

ToPrevMonth() публичный Метод

Changes the Month value to the Previous Month.
public ToPrevMonth ( ) : void
Результат void

ToPrevYear() публичный Метод

Changes the Year value to the Previous Year.
public ToPrevYear ( ) : void
Результат void