Intersoft ClientUI Documentation
UXClock Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXInput Namespace : UXClock Class






Provides a lightweight analog clock to display and editing time.

Object Model

UXClock Class

Syntax

Visual Basic (Declaration) 
<TemplatePartAttribute(Name="SecondHand", Type=Intersoft.Client.UI.Aqua.UXInput.UXClockSecondHand)>
<TemplatePartAttribute(Name="TimePresenter", Type=System.Windows.Controls.TextBlock)>
<TemplatePartAttribute(Name="ClockSlider", Type=Intersoft.Client.UI.Aqua.UXInput.UXSliderBar)>
<TemplatePartAttribute(Name="MarkersPresenter", Type=System.Windows.Controls.Canvas)>
<TemplatePartAttribute(Name="ClockPresenter", Type=System.Windows.Controls.Grid)>
<StyleTypedPropertyAttribute(Property="LongMarkerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXClockLongMarker)>
<TemplatePartAttribute(Name="HourHand", Type=Intersoft.Client.UI.Aqua.UXInput.UXClockHourHand)>
<TemplatePartAttribute(Name="AMPMDesignator", Type=System.Windows.Controls.Grid)>
<StyleTypedPropertyAttribute(Property="ShortMarkerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXClockShortMarker)>
<TemplatePartAttribute(Name="HandsPresenter", Type=System.Windows.Controls.Canvas)>
<TemplatePartAttribute(Name="MinuteHand", Type=Intersoft.Client.UI.Aqua.UXInput.UXClockMinuteHand)>
Public Class UXClock 
   Inherits Intersoft.Client.Framework.ISControl
   Implements IControlIFramework, ILicensing 
Visual Basic (Usage)Copy Code
Dim instance As UXClock
C# 
[TemplatePartAttribute(Name="SecondHand", Type=Intersoft.Client.UI.Aqua.UXInput.UXClockSecondHand)]
[TemplatePartAttribute(Name="TimePresenter", Type=System.Windows.Controls.TextBlock)]
[TemplatePartAttribute(Name="ClockSlider", Type=Intersoft.Client.UI.Aqua.UXInput.UXSliderBar)]
[TemplatePartAttribute(Name="MarkersPresenter", Type=System.Windows.Controls.Canvas)]
[TemplatePartAttribute(Name="ClockPresenter", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="LongMarkerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXClockLongMarker)]
[TemplatePartAttribute(Name="HourHand", Type=Intersoft.Client.UI.Aqua.UXInput.UXClockHourHand)]
[TemplatePartAttribute(Name="AMPMDesignator", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="ShortMarkerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXClockShortMarker)]
[TemplatePartAttribute(Name="HandsPresenter", Type=System.Windows.Controls.Canvas)]
[TemplatePartAttribute(Name="MinuteHand", Type=Intersoft.Client.UI.Aqua.UXInput.UXClockMinuteHand)]
public class UXClock : Intersoft.Client.Framework.ISControl, IControlIFramework, ILicensing  
Delphi 
public class UXClock = class(Intersoft.Client.Framework.ISControl, IControl, IFramework, ILicensing)
JScript 
TemplatePartAttribute(Name="SecondHand", Type=Intersoft.Client.UI.Aqua.UXInput.UXClockSecondHand)
TemplatePartAttribute(Name="TimePresenter", Type=System.Windows.Controls.TextBlock)
TemplatePartAttribute(Name="ClockSlider", Type=Intersoft.Client.UI.Aqua.UXInput.UXSliderBar)
TemplatePartAttribute(Name="MarkersPresenter", Type=System.Windows.Controls.Canvas)
TemplatePartAttribute(Name="ClockPresenter", Type=System.Windows.Controls.Grid)
StyleTypedPropertyAttribute(Property="LongMarkerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXClockLongMarker)
TemplatePartAttribute(Name="HourHand", Type=Intersoft.Client.UI.Aqua.UXInput.UXClockHourHand)
TemplatePartAttribute(Name="AMPMDesignator", Type=System.Windows.Controls.Grid)
StyleTypedPropertyAttribute(Property="ShortMarkerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXClockShortMarker)
TemplatePartAttribute(Name="HandsPresenter", Type=System.Windows.Controls.Canvas)
TemplatePartAttribute(Name="MinuteHand", Type=Intersoft.Client.UI.Aqua.UXInput.UXClockMinuteHand)
public class UXClock extends Intersoft.Client.Framework.ISControl implements IControlIFramework, ILicensing 
Managed Extensions for C++ 
[TemplatePartAttribute(Name="SecondHand", Type=Intersoft.Client.UI.Aqua.UXInput.UXClockSecondHand)]
[TemplatePartAttribute(Name="TimePresenter", Type=System.Windows.Controls.TextBlock)]
[TemplatePartAttribute(Name="ClockSlider", Type=Intersoft.Client.UI.Aqua.UXInput.UXSliderBar)]
[TemplatePartAttribute(Name="MarkersPresenter", Type=System.Windows.Controls.Canvas)]
[TemplatePartAttribute(Name="ClockPresenter", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="LongMarkerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXClockLongMarker)]
[TemplatePartAttribute(Name="HourHand", Type=Intersoft.Client.UI.Aqua.UXInput.UXClockHourHand)]
[TemplatePartAttribute(Name="AMPMDesignator", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="ShortMarkerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXClockShortMarker)]
[TemplatePartAttribute(Name="HandsPresenter", Type=System.Windows.Controls.Canvas)]
[TemplatePartAttribute(Name="MinuteHand", Type=Intersoft.Client.UI.Aqua.UXInput.UXClockMinuteHand)]
public __gc class UXClock : public Intersoft.Client.Framework.ISControl, IControlIFramework, ILicensing  
C++/CLI 
[TemplatePartAttribute(Name="SecondHand", Type=Intersoft.Client.UI.Aqua.UXInput.UXClockSecondHand)]
[TemplatePartAttribute(Name="TimePresenter", Type=System.Windows.Controls.TextBlock)]
[TemplatePartAttribute(Name="ClockSlider", Type=Intersoft.Client.UI.Aqua.UXInput.UXSliderBar)]
[TemplatePartAttribute(Name="MarkersPresenter", Type=System.Windows.Controls.Canvas)]
[TemplatePartAttribute(Name="ClockPresenter", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="LongMarkerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXClockLongMarker)]
[TemplatePartAttribute(Name="HourHand", Type=Intersoft.Client.UI.Aqua.UXInput.UXClockHourHand)]
[TemplatePartAttribute(Name="AMPMDesignator", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="ShortMarkerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXClockShortMarker)]
[TemplatePartAttribute(Name="HandsPresenter", Type=System.Windows.Controls.Canvas)]
[TemplatePartAttribute(Name="MinuteHand", Type=Intersoft.Client.UI.Aqua.UXInput.UXClockMinuteHand)]
public ref class UXClock : public Intersoft.Client.Framework.ISControl, IControlIFramework, ILicensing  

Remarks

UXClock is a lightweight analog clock control to display and edit time. UXClock uses UXClockHourHand, UXClockMinuteHand, and UXClockSecondHand to display the time and also edit the time. These hands can be drag and drop to change the time represented by UXClock.

You can use Value property to set the initial time in UXClock. UXClock will process the time part of the Value property to display the time.

View Copy Code
<Intersoft:UXClock x:Name="uxClock1" Value="12/21/2010 10:10:0"/>
            

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               Intersoft.Client.Framework.ISControl
                  Intersoft.Client.UI.Aqua.UXInput.UXClock

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.