Class
RulerPrimitive

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
public class RulerPrimitive : FillPrimitive, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, IPrimitive, IFillElement, IPrimitiveElement, IShapedElement

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementBasePrimitiveFillPrimitiveRulerPrimitive

Implements: ICustomTypeDescriptorIDisposableIFillElementINotifyPropertyChangedIPrimitiveIPrimitiveElementIShapedElementIStylableNodeISupportSystemSkin

Inherited Members FillPrimitive.BackColor2PropertyFillPrimitive.BackColor3PropertyFillPrimitive.BackColor4PropertyFillPrimitive.NumberOfColorsPropertyFillPrimitive.GradientStylePropertyFillPrimitive.GradientAnglePropertyFillPrimitive.GradientPercentagePropertyFillPrimitive.GradientPercentage2PropertyFillPrimitive.PaintUsingParentShapePropertyFillPrimitive.ShouldUsePaintBuffer()FillPrimitive.GetStylablePropertiesFilter()FillPrimitive.ShouldSerializeProperty(PropertyDescriptor)FillPrimitive.GetDefaultValue(RadPropertyValue, object)FillPrimitive.OnBoundsChanged(RadPropertyChangedEventArgs)FillPrimitive.ShouldPaintUsingParentShapeFillPrimitive.FitToSizeModeFillPrimitive.BackColor2FillPrimitive.BackColor3FillPrimitive.BackColor4FillPrimitive.NumberOfColorsFillPrimitive.GradientStyleFillPrimitive.GradientAngleFillPrimitive.GradientPercentageFillPrimitive.GradientPercentage2FillPrimitive.PaintUsingParentShapeBasePrimitive.BoxCategoryBasePrimitive.PaintElement(IGraphics, float, SizeF)BasePrimitive.IsEmptyVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnPropertyChanging(RadPropertyChangingEventArgs)VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.ForeColorVisualElement.BackColorVisualElement.FontVisualElement.CustomFontVisualElement.CustomFontSizeVisualElement.CustomFontStyleVisualElement.SmoothingModeVisualElement.OpacityVisualElement.FontChangedRadElement.BoundsPropertyRadElement.BorderThicknessPropertyRadElement.PaddingPropertyRadElement.MarginPropertyRadElement.AlignmentPropertyRadElement.AutoSizeModePropertyRadElement.FitToSizeModePropertyRadElement.MinSizePropertyRadElement.EnabledPropertyRadElement.CanFocusPropertyRadElement.IsItemFocusedPropertyRadElement.IsFocusedPropertyRadElement.IsMouseOverPropertyRadElement.IsMouseOverElementPropertyRadElement.IsMouseDownPropertyRadElement.ShouldPaintPropertyRadElement.VisibilityPropertyRadElement.NamePropertyRadElement.ClassPropertyRadElement.ClipDrawingPropertyRadElement.ShapePropertyRadElement.MouseClickedEventRadElement.MouseDoubleClickedEventRadElement.MouseDownEventRadElement.MouseUpEventRadElement.MouseWheelEventRadElement.ChildElementAddedEventRadElement.ParentChangedEventRadElement.BoundsChangedEventRadElement.VisibilityChangingEventRadElement.EnabledChangedEventRadElement.ControlChangedEventRadElement.BackgroundShapePropertyRadElement.BackgroundShapePaintModePropertyRadElement.ContainsFocusPropertyRadElement.ContainsMousePropertyRadElement.MaxSizePropertyRadElement.RightToLeftPropertyRadElement.AutoSizePropertyRadElement.ZIndexPropertyRadElement.AngleTransformPropertyRadElement.ScaleTransformPropertyRadElement.PositionOffsetPropertyRadElement.TagPropertyRadElement.StretchHorizontallyPropertyRadElement.StretchVerticallyPropertyRadElement.UseCompatibleTextRenderingPropertyRadElement.ClickModePropertyRadElement.styleVersionRadElement.paintSystemSkinRadElement.SetPropertyValueCommandRadElement.GetPropertyValueCommandRadElement.StylePropertyRadElement.CallCreateChildElements()RadElement.SuspendReferenceUpdate()RadElement.ResumeReferenceUpdate()RadElement.OnLoad(bool)RadElement.LoadCore()RadElement.OnLoaded()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(RadElement)RadElement.OnParentChanged(RadElement)RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool)RadElement.ResetLayout(bool)RadElement.HasInvisibleAncestor()RadElement.ResetLayoutCore()RadElement.InvalidateArrange()RadElement.InvalidateArrange(bool)RadElement.InvalidateMeasure()RadElement.InvalidateMeasure(bool)RadElement.UpdateLayout()RadElement.SuspendLayout()RadElement.SuspendLayout(bool)RadElement.ResumeLayout(bool)RadElement.ResumeLayout(bool, bool)RadElement.Arrange(RectangleF)RadElement.Measure(SizeF)RadElement.SetBounds(Rectangle)RadElement.SetBounds(int, int, int, int)RadElement.GetBoundingRectangle(Size)RadElement.GetBoundingRectangle(Rectangle)RadElement.GetDesiredSize(bool)RadElement.PointToScreen(Point)RadElement.PointFromScreen(Point)RadElement.PointToControl(Point)RadElement.PointFromControl(Point)RadElement.LocationToControl()RadElement.RectangleToScreen(Rectangle)RadElement.HitTest(Point)RadElement.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.ShouldArrangeChild(RadElement)RadElement.ArrangeOverride(SizeF)RadElement.ShouldMeasureChild(RadElement)RadElement.MeasureChildren(SizeF)RadElement.GetArrangeRect(RectangleF)RadElement.CanExecuteLayoutOperation()RadElement.CalcLayoutOffset(PointF)RadElement.LockBounds()RadElement.UnlockBounds()RadElement.SetBoundsCore(Rectangle)RadElement.IsInValidState(bool)RadElement.Invalidate()RadElement.Invalidate(bool)RadElement.GetInvalidateBounds()RadElement.NotifyInvalidate(RadElement)RadElement.OnTransformationInvalidated()RadElement.PerformLayoutTransformation(ref RadMatrix)RadElement.PerformPaintTransformation(ref RadMatrix)RadElement.IsInGetAsBitmap()RadElement.PaintElementSkin(IGraphics)RadElement.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintBackgroundShape(IGraphics)RadElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintShadow(RadElement, IGraphics)RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)RadElement.GetShadowRect(ref Rectangle, int)RadElement.PaintFocusCues(IGraphics, Rectangle)RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF)RadElement.GetAsBitmapEx(Color, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.IsInVisibleClipBounds(Rectangle)RadElement.SetClipping(Graphics)RadElement.GetClipRect()RadElement.ShouldPaintChild(RadElement)RadElement.GetFocusRect()RadElement.GetCurrentShape()RadElement.GetPaintRectangle(float, float, SizeF)RadElement.GetPatchedRect(RectangleF, float, SizeF)RadElement.GetXPVisualStyle()RadElement.GetVistaVisualStyle()RadElement.InitializeSystemSkinPaint()RadElement.UnitializeSystemSkinPaint()RadElement.GetSystemSkinPaintBounds()RadElement.OnUseSystemSkinChanged(EventArgs)RadElement.ShouldPaintSystemSkin()RadElement.ComposeShouldPaintSystemSkin()RadElement.ResetStyleSettings(bool)RadElement.ResetStyleSettings(bool, RadProperty)RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)RadElement.AddBehavior(PropertyChangeBehavior)RadElement.GetBehaviors()RadElement.RemoveBehavior(PropertyChangeBehavior)RadElement.ClearBehaviors()RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)RadElement.SetThemeApplied(bool)RadElement.OnStyleChanged(RadPropertyChangedEventArgs)RadElement.UnapplyStyle()RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)RadElement.RemoveBehaviors(PropertyChangeBehavior)RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)RadElement.GetThemeEffectiveType()RadElement.GetChildrenByType(Type)RadElement.GetChildrenByBaseType(Type)RadElement.FindAncestorByThemeEffectiveType(Type)RadElement.FindAncestor<T>()RadElement.IsAncestorOf(RadElement)RadElement.FindDescendant<T>()RadElement.FindDescendant(Predicate<RadElement>)RadElement.FindDescendant(Type)RadElement.EnumDescendants(TreeTraversalMode)RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.EnumDescendants(Filter, TreeTraversalMode)RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.GetDescendants(Filter, TreeTraversalMode)RadElement.GetAncestors(Filter)RadElement.GetAncestors(Predicate<RadElement>)RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)RadElement.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadElement.OnTunnelEvent(RadElement, RoutedEventArgs)RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)RadElement.IsEventInProcess(RaisedRoutedEvent)RadElement.RegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, string)RadElement.GetRegisterRoutedEvent(string)RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)RadElement.GetChildren(ChildrenListOptions)RadElement.SendToBack()RadElement.BringToFront()RadElement.IsChildOf(RadElement)RadElement.Focus()RadElement.Focus(bool)RadElement.SetFocusPropertySafe(bool)RadElement.KillFocus()RadElement.OnCLREventsRise(RoutedEventArgs)RadElement.OnMouseMove(MouseEventArgs)RadElement.OnMouseHover(EventArgs)RadElement.OnEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnMouseDown(MouseEventArgs)RadElement.OnMouseUp(MouseEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnClick(EventArgs)RadElement.OnDoubleClick(EventArgs)RadElement.OnMouseEnter(EventArgs)RadElement.OnMouseLeave(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.DoMouseWheel(MouseEventArgs)RadElement.DoClick(EventArgs)RadElement.DoDoubleClick(EventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.DoMouseMove(MouseEventArgs)RadElement.ShowScreenTip(ScreenTipNeededEventArgs)RadElement.HideScreenTip()RadElement.DoMouseHover(EventArgs)RadElement.OnShowScreenTip(ComponentInputBehavior)RadElement.RaiseClick(EventArgs)RadElement.RaiseDoubleClick(EventArgs)RadElement.RaiseMouseWheel(MouseEventArgs)RadElement.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(EventArgs)RadElement.GetValue(RadProperty)RadElement.AddStylePropertySetting(IPropertySetting)RadElement.SetValueCore(RadPropertyValue, object, object, ValueSource)RadElement.NotifyChildren(RadPropertyChangedEventArgs)RadElement.OnLocationChanged(RadPropertyChangedEventArgs)RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)RadElement.IsPropertyCancelable(RadPropertyMetadata)RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)RadElement.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadElement.ToString()RadElement.PerformDispose(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetClientRectangle(SizeF)RadElement.GetBorderThickness(BorderPrimitive)RadElement.DpiScaleChanged(SizeF)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.UseSystemSkinRadElement.CanHaveOwnStyleRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.ShouldHandleMouseInputRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.BoundsRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AlignmentRadElement.AutoSizeModeRadElement.EnabledRadElement.CanFocusRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.ShouldPaintRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.MinSizeRadElement.MaxSizeRadElement.ZIndexRadElement.RightToLeftRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.AngleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.StretchHorizontallyRadElement.StretchVerticallyRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.ToolTipTextRadElement.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.MouseUpRadElement.ClickRadElement.DoubleClickRadElement.MouseEnterRadElement.MouseWheelRadElement.EnabledChangedRadElement.MouseLeaveRadElement.ChildrenChangedRadElement.LostMouseCaptureRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

RulerPrimitive(RadScheduler, DayViewAppointmentsArea)

Initializes a new instance of the RulerPrimitive class.

Declaration

cs-api-definition
public RulerPrimitive(RadScheduler scheduler, DayViewAppointmentsArea area)

Parameters

scheduler

RadScheduler

area

DayViewAppointmentsArea

Fields

CurrentTimePointerColorProperty

Declaration

cs-api-definition
public static RadProperty CurrentTimePointerColorProperty

Field Value

RadProperty

EndScaleMinutesProperty

Declaration

cs-api-definition
public static RadProperty EndScaleMinutesProperty

Field Value

RadProperty

EndScaleProperty

Declaration

cs-api-definition
public static RadProperty EndScaleProperty

Field Value

RadProperty

FormatStringsProperty

Declaration

cs-api-definition
public static RadProperty FormatStringsProperty

Field Value

RadProperty

HourLineColorProperty

Declaration

cs-api-definition
public static RadProperty HourLineColorProperty

Field Value

RadProperty

HourLineShadowColorProperty

Declaration

cs-api-definition
public static RadProperty HourLineShadowColorProperty

Field Value

RadProperty

HourLineStartPositionProperty

Declaration

cs-api-definition
public static RadProperty HourLineStartPositionProperty

Field Value

RadProperty

MinutesFontProperty

Declaration

cs-api-definition
public static RadProperty MinutesFontProperty

Field Value

RadProperty

RangeFactorProperty

Declaration

cs-api-definition
public static RadProperty RangeFactorProperty

Field Value

RadProperty

RulerWidthProperty

Declaration

cs-api-definition
public static RadProperty RulerWidthProperty

Field Value

RadProperty

SectionLineColorProperty

Declaration

cs-api-definition
public static RadProperty SectionLineColorProperty

Field Value

RadProperty

SectionLineStartPositionProperty

Declaration

cs-api-definition
public static RadProperty SectionLineStartPositionProperty

Field Value

RadProperty

SeparatorsOffsetProperty

Declaration

cs-api-definition
public static RadProperty SeparatorsOffsetProperty

Field Value

RadProperty

ShowCurrentTimeProperty

Declaration

cs-api-definition
public static RadProperty ShowCurrentTimeProperty

Field Value

RadProperty

StartScaleMinutesProperty

Declaration

cs-api-definition
public static RadProperty StartScaleMinutesProperty

Field Value

RadProperty

StartScaleProperty

Declaration

cs-api-definition
public static RadProperty StartScaleProperty

Field Value

RadProperty

TimePointerStyleProperty

Declaration

cs-api-definition
public static RadProperty TimePointerStyleProperty

Field Value

RadProperty

Properties

Border

Gets or sets the border.

Declaration

cs-api-definition
public BorderPrimitive Border { get; }

Property Value

BorderPrimitive

The border.

CurrentTimePointerColor

Gets or sets the color of the current time pointer.

Declaration

cs-api-definition
[Browsable(true)]
public Color CurrentTimePointerColor { get; set; }

Property Value

Color

The color of the current time pointer.

CurrentTimePointerWidth

Gets or sets the width of the Current time pointerof the ruler.

Declaration

cs-api-definition
public float CurrentTimePointerWidth { get; set; }

Property Value

float

DefaultOffset

Declaration

cs-api-definition
public float DefaultOffset { get; }

Property Value

float

DefaultSeparatorOffset

Gets or sets the default separator offset.

Declaration

cs-api-definition
public int DefaultSeparatorOffset { get; set; }

Property Value

int

The default separator offset.

EndScale

Gets or sets the end scale.

Declaration

cs-api-definition
public int EndScale { get; set; }

Property Value

int

The end scale.

EndScaleMinutes

Gets or sets the end scale minutes.

Declaration

cs-api-definition
public int EndScaleMinutes { get; set; }

Property Value

int

FormatStrings

Gets or sets and instance holding the format strings used for drawing time representations on the ruler.

Declaration

cs-api-definition
public RulerFormatStrings FormatStrings { get; set; }

Property Value

RulerFormatStrings

HourLineColor

Gets or sets the hour line color.

Declaration

cs-api-definition
public Color HourLineColor { get; set; }

Property Value

Color

The hour line color.

HourLineShadowColor

Gets or sets the hour line shadow color.

Declaration

cs-api-definition
public Color HourLineShadowColor { get; set; }

Property Value

Color

The hour line shadow color.

HourLineStartPosition

Gets or sets the hour line start position.

Declaration

cs-api-definition
public int HourLineStartPosition { get; set; }

Property Value

int

The hour line start position.

MinutesFont

Gets or sets the minutes font.

Declaration

cs-api-definition
public Font MinutesFont { get; set; }

Property Value

Font

The minutes font.

RangeFactor

Gets or sets the range factor.

Declaration

cs-api-definition
public ScaleRange RangeFactor { get; set; }

Property Value

ScaleRange

The range factor.

RulerRenderer

Gets or sets the ruler primitive's renderer.

Declaration

cs-api-definition
public RulerRendererBase RulerRenderer { get; set; }

Property Value

RulerRendererBase

RulerWidth

Gets or sets the width of the ruler.

Declaration

cs-api-definition
public int RulerWidth { get; set; }

Property Value

int

The width of the ruler.

ScaledHourFontsCache

Declaration

cs-api-definition
protected virtual Dictionary<float, Font> ScaledHourFontsCache { get; }

Property Value

Dictionary<float, Font>

ScaledMinutesFontsCache

Declaration

cs-api-definition
protected virtual Dictionary<float, Font> ScaledMinutesFontsCache { get; }

Property Value

Dictionary<float, Font>

SectionLineColor

Gets or sets the section line color.

Declaration

cs-api-definition
public Color SectionLineColor { get; set; }

Property Value

Color

The section line color.

SectionLineStartPosition

Gets or sets the section line start position.

Declaration

cs-api-definition
public int SectionLineStartPosition { get; set; }

Property Value

int

The section line start position.

SelectedTimeZone

Gets or sets the selected time zone.

Declaration

cs-api-definition
public SchedulerTimeZone SelectedTimeZone { get; set; }

Property Value

SchedulerTimeZone

The selected time zone.

SeparatorsOffset

Gets or sets the separators offset.

Declaration

cs-api-definition
public float SeparatorsOffset { get; set; }

Property Value

float

The separators offset.

ShowCurrentTime

Gets or sets a value indicating whether to show the current time

Declaration

cs-api-definition
public bool ShowCurrentTime { get; set; }

Property Value

bool

StartScale

Gets or sets the start scale.

Declaration

cs-api-definition
public int StartScale { get; set; }

Property Value

int

The start scale.

StartScaleMinutes

Gets or sets the start scale minutes.

Declaration

cs-api-definition
public int StartScaleMinutes { get; set; }

Property Value

int

TimePointerStyle

Gets or sets the time pointer style.

Declaration

cs-api-definition
public RulerCurrentTimePointer TimePointerStyle { get; set; }

Property Value

RulerCurrentTimePointer

The time pointer style.

ViewTimeZone

Gets the view time zone.

Declaration

cs-api-definition
public SchedulerTimeZone ViewTimeZone { get; }

Property Value

SchedulerTimeZone

The view time zone.

Methods

CallActiveViewOnPropertyChanged()

Declaration

cs-api-definition
protected virtual void CallActiveViewOnPropertyChanged()

CreateChildElements()

Creates the child elements.

Declaration

cs-api-definition
protected override void CreateChildElements()

Overrides RadElement.CreateChildElements()

DisposeManagedResources()

Releases managed resources by clearing the property store and disposing value animators to prevent memory leaks.

Declaration

cs-api-definition
protected override void DisposeManagedResources()

Overrides RadElement.DisposeManagedResources()

GetHourItemBounds(int)

Declaration

cs-api-definition
public RectangleF GetHourItemBounds(int row)

Parameters

row

int

Returns

RectangleF

GetScaledHourFont(float)

Declaration

cs-api-definition
protected virtual Font GetScaledHourFont(float scale)

Parameters

scale

float

Returns

Font

GetScaledMinutesFont(float)

Declaration

cs-api-definition
protected virtual Font GetScaledMinutesFont(float scale)

Parameters

scale

float

Returns

Font

InitializeFields()

Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.

Declaration

cs-api-definition
protected override void InitializeFields()

Overrides FillPrimitive.InitializeFields()

MeasureOverride(SizeF)

Measures the space required by the RadElement

Used by the layout system.

Declaration

cs-api-definition
protected override SizeF MeasureOverride(SizeF availableSize)

Parameters

availableSize

SizeF

The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)

Returns

SizeF

The minimum size required by the element to be completely visible. Cannot be infinity.

Overrides RadElement.MeasureOverride(SizeF)

Remarks

In this method call to the Measure method of each child must be made.

OnFontChanged(EventArgs)

Raises the FontChanged event.

Declaration

cs-api-definition
protected override void OnFontChanged(EventArgs e)

Parameters

e

EventArgs

An EventArgs that contains the event data.

Overrides VisualElement.OnFontChanged(EventArgs)

OnPropertyChanged(RadPropertyChangedEventArgs)

Called when a property value has changed, allowing for custom response to property changes.

Declaration

cs-api-definition
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

The property changed event arguments.

Overrides FillPrimitive.OnPropertyChanged(RadPropertyChangedEventArgs)

PaintPrimitive(IGraphics, float, SizeF)

Virtual function that draws the primitive on the screen.

Declaration

cs-api-definition
public override void PaintPrimitive(IGraphics graphics, float angle, SizeF scale)

Parameters

graphics

IGraphics

angle

float

scale

SizeF

Overrides FillPrimitive.PaintPrimitive(IGraphics, float, SizeF)