C# 클래스 PocketCampus.IsAcademia.Controls.DayDisplay

Displays one or multiple days.
상속: System.Windows.Controls.Panel
파일 보기 프로젝트 열기: accandme/pocketcampus

공개 프로퍼티들

프로퍼티 타입 설명
ContainerStyleProperty System.Windows.DependencyProperty
DayProperty System.Windows.DependencyProperty
DaysProperty System.Windows.DependencyProperty
EmptyContainerStyleProperty System.Windows.DependencyProperty
HourIncrementProperty System.Windows.DependencyProperty
PeriodTemplateProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
DayDisplay ( ) : System

Creates a new DayDisplay.

보호된 메소드들

메소드 설명
ArrangeOverride ( Size finalSize ) : Size

Arranges the elements inside the control.

MeasureOverride ( Size availableSize ) : Size

Creates all required elements and measures them.

비공개 메소드들

메소드 설명
AddPeriodsToCanvas ( System.Windows.Controls.Canvas canvas, Size size, StudyDay day ) : void

Adds the periods of the specified day to the specified canvas with the specified size.

AddPlaceholdersToCanvas ( System.Windows.Controls.Canvas canvas, Size size ) : void

Adds placeholders to the specified canvas with the specified size.

CreateHoursGrid ( ) : Grid

Creates a vertical grid with hours.

GetHourBoundaries ( StudyDay days ) : int>.Tuple

Gets the hour boundaries for the specified days' periods.

HourCeiling ( System.TimeSpan time ) : int

Gets the hour ceiling for the specified time. The result is between 0 and 24 inclusive, and the method assumes the date is not 0:00.

메소드 상세

ArrangeOverride() 보호된 메소드

Arranges the elements inside the control.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
리턴 System.Windows.Size

DayDisplay() 공개 메소드

Creates a new DayDisplay.
public DayDisplay ( ) : System
리턴 System

MeasureOverride() 보호된 메소드

Creates all required elements and measures them.
protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size
리턴 System.Windows.Size

프로퍼티 상세

ContainerStyleProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ContainerStyleProperty
리턴 System.Windows.DependencyProperty

DayProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows DayProperty
리턴 System.Windows.DependencyProperty

DaysProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows DaysProperty
리턴 System.Windows.DependencyProperty

EmptyContainerStyleProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows EmptyContainerStyleProperty
리턴 System.Windows.DependencyProperty

HourIncrementProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows HourIncrementProperty
리턴 System.Windows.DependencyProperty

PeriodTemplateProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows PeriodTemplateProperty
리턴 System.Windows.DependencyProperty