Class Clock
Represents a Clock control.
Inheritance
Implements
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
public class Clock : Control, IDisposable
Remarks
Clock class models a ticking clock. This class is used to tick current or user-defined time.
A Clock enables user dragging its hands, doing mouse wheel operations and choosing am/pm time. Also Clock control contains a text block to display time.
To create a Clock using C# you can use the Clock method.
A Clock supports Windows themes (Default, Silver, Metallic, Zune, Royale and Aero) and skins (Office2003, Office2007Blue, Office2007Black, Office2007Silver and Blend). Also you can define your own user skin by setting properties of the Clock class.
Examples
This example shows how to create a Clock in XAML.
<Window x:Class="Clock.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Clock" Height="300" Width="300">
<StackPanel HorizontalAlignment="Center">
<local:Clock Name="customControlClock" />
</StackPanel>
</Window>
This example shows how to create a Clock in C#.
using System.Windows;
using System.Windows.Controls;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
Clock clock = new Clock();
stackPanel.Children.Add( clock );
}
}
}
Constructors
Clock()
Initializes a new instance of the Clock class.
Declaration
public Clock()
Fields
AMPMMouseOverButtonsArrowBrushProperty
This property defines AMPMSelectorButtonsArrowBrush of the Clock.
Declaration
public static readonly DependencyProperty AMPMMouseOverButtonsArrowBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AMPMMouseOverButtonsBackgroundProperty
This property defines AMPMMouseOverButtonsBackground of the Clock.
Declaration
public static readonly DependencyProperty AMPMMouseOverButtonsBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AMPMMouseOverButtonsBorderBrushProperty
This property defines AMPMMouseOverButtonsBorderBrush of the Clock.
Declaration
public static readonly DependencyProperty AMPMMouseOverButtonsBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AMPMSelectorBackgroundProperty
This property defines AMPMSelectorBackground of the Clock.
Declaration
public static readonly DependencyProperty AMPMSelectorBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AMPMSelectorBorderBrushProperty
This property defines AMPMSelectorBorderBrush of the Clock.
Declaration
public static readonly DependencyProperty AMPMSelectorBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AMPMSelectorBorderThicknessProperty
This property defines AMPMSelectorBorderThickness of the Clock.
Declaration
public static readonly DependencyProperty AMPMSelectorBorderThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AMPMSelectorButtonsArrowBrushProperty
This property defines AMPMSelectorButtonsArrowBrush of the Clock.
Declaration
public static readonly DependencyProperty AMPMSelectorButtonsArrowBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AMPMSelectorButtonsBackgroundProperty
This property defines AMPMSelectorButtonsBackground of the Clock.
Declaration
public static readonly DependencyProperty AMPMSelectorButtonsBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AMPMSelectorButtonsBorderBrushProperty
This property defines AMPMSelectorButtonsBorderBrush of the Clock.
Declaration
public static readonly DependencyProperty AMPMSelectorButtonsBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AMPMSelectorCornerRadiusProperty
This property defines AMPMSelectorCornerRadius of the Clock.
Declaration
public static readonly DependencyProperty AMPMSelectorCornerRadiusProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AMPMSelectorForegroundProperty
This property defines AMPMSelectorForeground of the Clock.
Declaration
public static readonly DependencyProperty AMPMSelectorForegroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AMPMSelectorPositionProperty
This property defines AMPMSelectorPosition of the Clock.
Declaration
public static readonly DependencyProperty AMPMSelectorPositionProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
BorderBrushProperty
This property defines BorderBrush of the Clock.
Declaration
public static readonly DependencyProperty BorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
BorderThicknessProperty
This property defines BorderThickness of the Clock.
Declaration
public static readonly DependencyProperty BorderThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CanResizeProperty
Declaration
public static readonly DependencyProperty CanResizeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CenterCircleBrushProperty
This property defines CenterCircleBrush of the Clock.
Declaration
public static readonly DependencyProperty CenterCircleBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ClockCornerRadiusProperty
This property defines ClockCornerRadius of the Clock.
Declaration
public static readonly DependencyProperty ClockCornerRadiusProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ClockFrameBrushProperty
This property defines FrameBrush of the Clock.
Declaration
public static readonly DependencyProperty ClockFrameBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ClockPointBrushProperty
This property defines ClockPointBrush of the Clock.
Declaration
public static readonly DependencyProperty ClockPointBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DateTimeProperty
Identifies DateTime dependency property.
Declaration
public static DependencyProperty DateTimeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DialBackgroundProperty
This property defines Brush of DialBorder.
Declaration
public static readonly DependencyProperty DialBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DialBorderThicknessProperty
This property defines DialBorderThickness of the Clock.
Declaration
public static readonly DependencyProperty DialBorderThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DialCenterBackgroundProperty
This property defines Brush of the center DialBorder.
Declaration
public static readonly DependencyProperty DialCenterBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FrameBackgroundProperty
This property defines FrameBackground of the Clock.
Declaration
public static readonly DependencyProperty FrameBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FrameBorderBrushProperty
This property defines FrameBorderBrush of the Clock.
Declaration
public static readonly DependencyProperty FrameBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FrameBorderThicknessProperty
This property defines FrameBorderThickness of the Clock.
Declaration
public static readonly DependencyProperty FrameBorderThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FrameCornerRadiusProperty
This property defines FrameCornerRadius of the Clock.
Declaration
public static readonly DependencyProperty FrameCornerRadiusProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FrameInnerBorderBrushProperty
This property defines FrameInnerBorderBrush of the Clock.
Declaration
public static readonly DependencyProperty FrameInnerBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FrameInnerBorderThicknessProperty
This property defines FrameInnerBorderThickness of the Clock.
Declaration
public static readonly DependencyProperty FrameInnerBorderThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HourHandBorderBrushProperty
This property defines HourHandShadowBrush of the Clock.
Declaration
public static readonly DependencyProperty HourHandBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HourHandBrushProperty
This property defines HourHandBrush of the Clock.
Declaration
public static readonly DependencyProperty HourHandBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HourHandMouseOverBorderBrushProperty
This property defines HourHandMouseOverBorderBrush of the Clock.
Declaration
public static readonly DependencyProperty HourHandMouseOverBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HourHandMouseOverBrushProperty
This property defines HourHandMouseOverBrush of the Clock.
Declaration
public static readonly DependencyProperty HourHandMouseOverBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HourHandPressedBrushProperty
This property defines HourHandPressedBrush of the Clock.
Declaration
public static readonly DependencyProperty HourHandPressedBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
InnerBorderBrushProperty
This property defines Brush of InnerBorder.
Declaration
public static readonly DependencyProperty InnerBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
InnerBorderThicknessProperty
This property defines InnerBorderThickness of the Clock.
Declaration
public static readonly DependencyProperty InnerBorderThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsDigitalAmPmVisibleProperty
This property defines IsDigitalAmPmVisible of the Clock.
Declaration
public static readonly DependencyProperty IsDigitalAmPmVisibleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsInsideAmPmVisibleProperty
This property defines IsInsideAmPmVisible of the Clock.
Declaration
public static readonly DependencyProperty IsInsideAmPmVisibleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
m_AMPMSelect
Command for down button.
Declaration
public static RoutedCommand m_AMPMSelect
Field Value
Type |
---|
System.Windows.Input.RoutedCommand |
MinuteHandBorderBrushProperty
This property defines MinuteHandBorderBrush of the Clock.
Declaration
public static readonly DependencyProperty MinuteHandBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MinuteHandBrushProperty
This property defines MinuteHandBrush of the Clock.
Declaration
public static readonly DependencyProperty MinuteHandBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MinuteHandMouseOverBorderBrushProperty
This property defines MinuteHandMouseOverBorderBrush of the Clock.
Declaration
public static readonly DependencyProperty MinuteHandMouseOverBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MinuteHandMouseOverBrushProperty
This property defines MinuteHandMouseOverBrush of the Clock.
Declaration
public static readonly DependencyProperty MinuteHandMouseOverBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MinuteHandPressedBrushProperty
This property defines MinuteHandPressedBrush of the Clock.
Declaration
public static readonly DependencyProperty MinuteHandPressedBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SecondHandBrushProperty
This property defines SecondHandBrush of the Clock.
Declaration
public static readonly DependencyProperty SecondHandBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SecondHandMouseOverBrushProperty
This property defines SecondHandMouseOverBrush of the Clock.
Declaration
public static readonly DependencyProperty SecondHandMouseOverBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SecondHandPressedBrushProperty
This property defines SecondHandPressedBrush of the Clock.
Declaration
public static readonly DependencyProperty SecondHandPressedBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SecondHandThicknessProperty
This property defines SecondHandThickness of the Clock second hand.
Declaration
public static readonly DependencyProperty SecondHandThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
AMPMMouseOverButtonsArrowBrush
Gets or sets AMPMMouseOverButtonsArrowBrush of the Clock. This is a dependency property.
Declaration
public Brush AMPMMouseOverButtonsArrowBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides AMPMMouseOverButtonsArrowBrush value for the Clock. The default value of the AMPMMouseOverButtonsArrowBrush property is Transparent. |
Remarks
AMPMMouseOverButtonsArrowBrush sets buttons arrow brush to both inside am/pm selector and non-editable digital clock when mouse over the buttons.
Examples
This example shows how to set AMPMMouseOverButtonsArrowBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.AMPMMouseOverButtonsArrowBrush = Brushes.Red;
}
}
}
This example shows how to set AMPMMouseOverButtonsArrowBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" AMPMMouseOverButtonsArrowBrush="Red" />
</StackPanel>
</Window>
See Also
AMPMMouseOverButtonsBackground
Gets or sets AMPMMouseOverButtonsBackground of the Clock. This is a dependency property.
Declaration
public Brush AMPMMouseOverButtonsBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides AMPMMouseOverButtonsBackground value for the Clock. The default value of the AMPMMouseOverButtonsBackground property is Transparent. |
Remarks
AMPMMouseOverButtonsBackground sets buttons background to both inside am/pm selector and non-editable digital clock when mouse over the buttons.
Examples
This example shows how to set AMPMMouseOverButtonsBackground property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.AMPMMouseOverButtonsBackground = Brushes.Red;
}
}
}
This example shows how to set AMPMMouseOverButtonsBackground property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" AMPMMouseOverButtonsBackground="Red" />
</StackPanel>
</Window>
See Also
AMPMMouseOverButtonsBorderBrush
Gets or sets AMPMMouseOverButtonsBorderBrush of the Clock. This is a dependency property.
Declaration
public Brush AMPMMouseOverButtonsBorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides AMPMMouseOverButtonsBorderBrush value for the Clock. The default value of the AMPMMouseOverButtonsBorderBrush property is Transparent. |
Remarks
AMPMMouseOverButtonsBorderBrush sets buttons border brush to both inside am/pm selector and non-editable digital clock when mouse over the buttons.
Examples
This example shows how to set AMPMMouseOverButtonsBorderBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.AMPMMouseOverButtonsBorderBrush = Brushes.Red;
}
}
}
This example shows how to set AMPMMouseOverButtonsBorderBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" AMPMMouseOverButtonsBorderBrush="Red" />
</StackPanel>
</Window>
See Also
AMPMSelectorBackground
Gets or sets AMPMSelectorBackground of the Clock. This is a dependency property.
Declaration
public Brush AMPMSelectorBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides AMPMSelectorBackground value for the Clock. The default value of the AMPMSelectorBackground property is Transparent. |
Remarks
AMPMSelectorBackground sets background to both inside am/pm selector and non-editable digital clock.
Examples
This example shows how to set AMPMSelectorBackground property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.AMPMSelectorBackground = Brushes.Red;
}
}
}
This example shows how to set AMPMSelectorBackground property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" AMPMSelectorBackground="Red" />
</StackPanel>
</Window>
See Also
AMPMSelectorBorderBrush
Gets or sets AMPMSelectorBorderBrush of the Clock. This is a dependency property.
Declaration
public Brush AMPMSelectorBorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides AMPMSelectorBorderBrush value for the Clock. The default value of the AMPMSelectorBorderBrush property is Transparent. |
Remarks
AMPMSelectorBorderBrush sets border brush to both inside am/pm selector and non-editable digital clock.
Examples
This example shows how to set AMPMSelectorBorderBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.AMPMSelectorBorderBrush = Brushes.Red;
}
}
}
This example shows how to set AMPMSelectorBorderBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" AMPMSelectorBorderBrush="Red" />
</StackPanel>
</Window>
See Also
AMPMSelectorBorderThickness
Gets or sets AMPMSelectorBorderThickness of the Clock. This is a dependency property.
Declaration
public Thickness AMPMSelectorBorderThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Thickness | Type: System.Windows.Thickness Provides AMPMSelectorBorderThickness value for the Clock. The default value of the AMPMSelectorBorderThickness property is 1. |
Remarks
AMPMSelectorBorderThickness sets border thickness to both inside am/pm selector and non-editable digital clock.
Examples
This example shows how to set AMPMSelectorBorderThickness property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.AMPMSelectorBorderThickness = new Thickness( 3 );
}
}
}
This example shows how to set AMPMSelectorBorderThickness property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" AMPMSelectorBorderThickness="3" />
</StackPanel>
</Window>
See Also
AMPMSelectorButtonsArrowBrush
Gets or sets AMPMSelectorButtonsArrowBrush of the Clock. This is a dependency property.
Declaration
public Brush AMPMSelectorButtonsArrowBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides AMPMSelectorButtonsArrowBrush value for the Clock. The default value of the AMPMSelectorButtonsArrowBrush property is Transparent. |
Remarks
AMPMSelectorButtonsArrowBrush sets buttons arrow brush to both inside am/pm selector and non-editable digital clock.
Examples
This example shows how to set AMPMSelectorButtonsArrowBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.AMPMSelectorButtonsArrowBrush = Brushes.Red;
}
}
}
This example shows how to set AMPMSelectorButtonsArrowBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" AMPMSelectorButtonsArrowBrush="Red" />
</StackPanel>
</Window>
See Also
AMPMSelectorButtonsBackground
Gets or sets AMPMSelectorButtonsBackground of the Clock. This is a dependency property.
Declaration
public Brush AMPMSelectorButtonsBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides AMPMSelectorButtonsBackground value for the Clock. The default value of the AMPMSelectorButtonsBackground property is Transparent. |
Remarks
AMPMSelectorButtonsBackground sets buttons background to both inside am/pm selector and non-editable digital clock.
Examples
This example shows how to set AMPMSelectorButtonsBackground property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.AMPMSelectorButtonsBackground = Brushes.Red;
}
}
}
This example shows how to set AMPMSelectorButtonsBackground property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" AMPMSelectorButtonsBackground="Red" />
</StackPanel>
</Window>
See Also
AMPMSelectorButtonsBorderBrush
Gets or sets AMPMSelectorButtonsBorderBrush of the Clock. This is a dependency property.
Declaration
public Brush AMPMSelectorButtonsBorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides AMPMSelectorButtonsBorderBrush value for the Clock. The default value of the AMPMSelectorButtonsBorderBrush property is Transparent. |
Remarks
AMPMSelectorButtonsBorderBrush sets buttons border brush to both inside am/pm selector and non-editable digital clock.
Examples
This example shows how to set AMPMSelectorButtonsBorderBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.AMPMSelectorButtonsBorderBrush = Brushes.Red;
}
}
}
This example shows how to set AMPMSelectorButtonsBorderBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" AMPMSelectorButtonsBorderBrush="Red" />
</StackPanel>
</Window>
See Also
AMPMSelectorCornerRadius
Gets or sets AMPMSelectorCornerRadius value of the Clock. This is a dependency property.
Declaration
public CornerRadius AMPMSelectorCornerRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.CornerRadius | Type: System.Windows.CornerRadius Provides AMPMSelectorCornerRadius value for the Clock. The default value of the AMPMSelectorCornerRadius property is 0. |
Remarks
AMPMSelectorCornerRadius sets corner radius to both inside am/pm selector and non-editable digital clock.
Examples
This example shows how to set AMPMSelectorCornerRadius property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.AMPMSelectorCornerRadius = new CornerRadius( 2 );
}
}
}
This example shows how to set AMPMSelectorCornerRadius property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" AMPMSelectorCornerRadius="2" />
</StackPanel>
</Window>
See Also
AMPMSelectorForeground
Gets or sets AMPMSelectorForeground of the Clock. This is a dependency property.
Declaration
public Brush AMPMSelectorForeground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides AMPMSelectorForeground value for the Clock. The default value of the AMPMSelectorForeground property is Transparent. |
Remarks
AMPMSelectorForeground sets foreground to both inside am/pm selector and non-editable digital clock.
Examples
This example shows how to set AMPMSelectorForeground property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.AMPMSelectorForeground = Brushes.Red;
}
}
}
This example shows how to set AMPMSelectorForeground property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" AMPMSelectorForeground="Red" />
</StackPanel>
</Window>
See Also
AMPMSelectorPosition
Gets or sets AMPMSelectorPosition of the Clock. This is a dependency property.
Declaration
public Clock.Position AMPMSelectorPosition { get; set; }
Property Value
Type | Description |
---|---|
Clock.Position | Type: Clock.Position Provides AMPMSelectorPosition value for the Clock. The default value of the AMPMSelectorPosition property is Bottom. |
Remarks
You can set one of four values for AMPMSelectorPosition dependency property (Top, Left, Right, Bottom).
To see the result of setting AMPMSelectorPosition dependency property you should set IsInsideAmPmVisible
dependency property value to True.
Examples
This example shows how to set AMPMSelectorPosition property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.IsInsideAmPmVisible = true;
customControlClock.AMPMSelectorPosition = Clock.Position.Top;
}
}
}
This example shows how to set AMPMSelectorPosition property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" IsInsideAmPmVisible="True" AMPMSelectorPosition="3" />
</StackPanel>
</Window>
See Also
BorderBrush
Gets or sets BorderBrush of the Clock. This is a dependency property.
Declaration
public Brush BorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides BorderBrush value for the Clock. The default value of the BorderBrush property is Transparent. |
Examples
This example shows how to set BorderBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.BorderBrush = Brushes.Red;
}
}
}
This example shows how to set BorderBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" BorderBrush="Red" />
</StackPanel>
</Window>
See Also
BorderThickness
Gets or sets border thickness value of the Clock. This is a dependency property.
Declaration
public Thickness BorderThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Thickness | Type: System.Windows.Thickness Provides BorderThickness value for the Clock. The default value of the BorderThickness property is 2. |
Remarks
BorderThickness dependency property defines border thickness of the Clock.
Examples
This example shows how to set BorderThickness property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.BorderThickness = new Thickness( 2 );
}
}
}
This example shows how to set BorderThickness property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" BorderThickness="2" />
</StackPanel>
</Window>
See Also
CanResize
Gets or sets the bool value whether allow user to resize the clock or not. This is a dependency property.
Declaration
public bool CanResize { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | CanResize property |
CenterCircleBrush
Gets or sets CenterCircleBrush of the Clock. This is a dependency property.
Declaration
public Brush CenterCircleBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides CenterCircleBrush value for the Clock. The default value of the CenterCircleBrush property is Transparent. |
Examples
This example shows how to set CenterCircleBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.CenterCircleBrush = Brushes.Red;
}
}
}
This example shows how to set CenterCircleBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" CenterCircleBrush="Red" />
</StackPanel>
</Window>
See Also
ClockCornerRadius
Gets or sets CornerRadius value of the Clock. This is a dependency property.
Declaration
public CornerRadius ClockCornerRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.CornerRadius | Type: System.Windows.CornerRadius Provides ClockCornerRadius value for the Clock. The default value of the ClockCornerRadius property is 90. |
Remarks
ClockCornerRadius dependency property defines corner radius of the Clock. If you set low ClockCornerRadius, the clock will be square. If you set high ClockCornerRadius, the clock will be round.
Examples
This example shows how to set ClockCornerRadius property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.ClockCornerRadius = new CornerRadius( 30 );
}
}
}
This example shows how to set ClockCornerRadius property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" ClockCornerRadius="10,30,10,30" />
</StackPanel>
</Window>
See Also
ClockFrameBrush
Gets or sets FrameBrush of the Clock. This is a dependency property.
Declaration
public Brush ClockFrameBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides ClockFrameBrush value for the Clock. The default value of the ClockFrameBrush property is Transparent. |
Remarks
ClockFrameBrush property sets background to the frame of the Clock.
Examples
This example shows how to set ClockFrameBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.ClockFrameBrush = Brushes.Red;
}
}
}
This example shows how to set ClockFrameBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" ClockFrameBrush="Red" />
</StackPanel>
</Window>
See Also
ClockPointBrush
Gets or sets PointColor of the Clock. This is a dependency property.
Declaration
public Brush ClockPointBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides ClockPointBrush value for the Clock. The default value of the ClockPointBrush property is Transparent. |
Examples
This example shows how to set ClockPointBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.ClockPointBrush = Brushes.Red;
}
}
}
This example shows how to set ClockPointBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" ClockPointBrush="Red" />
</StackPanel>
</Window>
See Also
DateTime
Gets or sets date and time of the Clock. This is a dependency property.
Declaration
public DateTime DateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | Type: DateTime Provides DateTime value for the Clock. The default value of the DateTime property is DateTime.Now. |
Remarks
DateTime dependency property is used for getting or setting date or time of the Clock. Every tick of the clock updates DateTime property. Also DateTime property is updated when you drag hands of the clock of do mouse wheel operations with clock hands.
Examples
This example shows how to set DateTime property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.DateTime = new DateTime( 2006, 1, 1, 1, 1, 1 );
}
}
}
This example shows how to set DateTime property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" DateTime="1/1/2005 2:20" />
</StackPanel>
</Window>
See Also
DialBackground
Gets or sets DialBackground of the Clock. This is a dependency property.
Declaration
public Brush DialBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides DialBackground value for the Clock. The default value of the DialBackground property is Transparent. |
Remarks
DialBackground property sets background to the place near inner border.
Examples
This example shows how to set DialBackground property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.DialBackground = Brushes.Red;
}
}
}
This example shows how to set DialBackground property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" DialBackground="Red" />
</StackPanel>
</Window>
See Also
DialBorderThickness
Gets or sets dial border thickness value of the Clock. This is a dependency property.
Declaration
public Thickness DialBorderThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Thickness | Type: System.Windows.Thickness Provides DialBorderThickness value for the Clock. The default value of the InnerBorderThickness property is 25. |
Remarks
DialBorderThickness dependency property defines dial border thickness of the Clock.
Examples
This example shows how to set DialBorderThickness property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.DialBorderThickness = new Thickness( 3 );
}
}
}
This example shows how to set DialBorderThickness property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" DialBorderThickness="3" />
</StackPanel>
</Window>
See Also
DialCenterBackground
Gets or sets DialCenterBackground of the Clock. This is a dependency property.
Declaration
public Brush DialCenterBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides DialCenterBackground value for the Clock. The default value of the DialCenterBackground property is Transparent. |
Remarks
DialCenterBackground property sets background to the place near center of the clock.
Examples
This example shows how to set DialCenterBackground property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.DialCenterBackground = Brushes.Red;
}
}
}
This example shows how to set DialCenterBackground property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" DialCenterBackground="Red" />
</StackPanel>
</Window>
See Also
FrameBackground
Gets or sets FrameBackground of the Clock. This is a dependency property.
Declaration
public Brush FrameBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides FrameBackground value for the Clock. The default value of the FrameBackground property is Transparent. |
Examples
This example shows how to set FrameBackground property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.FrameBackground = Brushes.Red;
}
}
}
This example shows how to set FrameBackground property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" FrameBackground="Red" />
</StackPanel>
</Window>
See Also
FrameBorderBrush
Gets or sets FrameBorderBrush of the Clock. This is a dependency property.
Declaration
public Brush FrameBorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides FrameBorderBrush value for the Clock. The default value of the FrameBorderBrush property is Transparent. |
Remarks
FrameBorderBrush property sets brush to the frame of the Clock.
Examples
This example shows how to set FrameBorderBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.FrameBorderBrush = Brushes.Red;
}
}
}
This example shows how to set FrameBorderBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" FrameBorderBrush="Red" />
</StackPanel>
</Window>
See Also
FrameBorderThickness
Gets or sets FrameBorderThickness of the Clock. This is a dependency property.
Declaration
public Thickness FrameBorderThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Thickness | Type: System.Windows.Thickness Provides FrameBorderThickness value for the Clock. The default value of the FrameBorderThickness property is 1. |
Remarks
FrameBorderThickness property sets thickness to the frame of the Clock.
Examples
This example shows how to set FrameBorderThickness property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.FrameBorderThickness = new Thickness( 3 );
}
}
}
This example shows how to set FrameBorderThickness property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" FrameBorderThickness="3" />
</StackPanel>
</Window>
See Also
FrameCornerRadius
Gets or sets FrameCornerRadius value of the Clock. This is a dependency property.
Declaration
public CornerRadius FrameCornerRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.CornerRadius | Type: System.Windows.CornerRadius Provides FrameCornerRadius value for the Clock. The default value of the FrameCornerRadius property is 0. |
Examples
This example shows how to set FrameCornerRadius property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.FrameCornerRadius = new CornerRadius( 30 );
}
}
}
This example shows how to set FrameCornerRadius property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" FrameCornerRadius="10,30,10,30" />
</StackPanel>
</Window>
See Also
FrameInnerBorderBrush
Gets or sets FrameInnerBorderBrush of the Clock. This is a dependency property.
Declaration
public Brush FrameInnerBorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides FrameInnerBorderBrush value for the Clock. The default value of the FrameInnerBorderBrush property is Transparent. |
Remarks
FrameInnerBorderBrush property sets brush to the frame that is near the main frame of the Clock.
Examples
This example shows how to set FrameInnerBorderBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.FrameInnerBorderBrush = Brushes.Red;
}
}
}
This example shows how to set FrameInnerBorderBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" FrameInnerBorderBrush="Red" />
</StackPanel>
</Window>
See Also
FrameInnerBorderThickness
Gets or sets FrameInnerBorderThickness of the Clock. This is a dependency property.
Declaration
public Thickness FrameInnerBorderThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Thickness | Type: System.Windows.Thickness Provides FrameInnerBorderThickness value for the Clock. The default value of the FrameInnerBorderThickness property is "1,1,1,0". |
Remarks
FrameInnerBorderThickness property sets thickness to the frame that is near the main frame of the Clock.
Examples
This example shows how to set FrameInnerBorderThickness property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.FrameInnerBorderThickness = new Thickness( 3 );
}
}
}
This example shows how to set FrameInnerBorderThickness property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" FrameInnerBorderThickness="3" />
</StackPanel>
</Window>
See Also
HourHandBorderBrush
Gets or sets HourHandBorderBrush of the Clock. This is a dependency property.
Declaration
public Brush HourHandBorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides HourHandBorderBrush value for the Clock. The default value of the HourHandBorderBrush property is Transparent. |
Examples
This example shows how to set HourHandBorderBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.HourHandBorderBrush = Brushes.Red;
}
}
}
This example shows how to set HourHandBorderBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" HourHandBorderBrush="Red" />
</StackPanel>
</Window>
See Also
HourHandBrush
Gets or sets HourHandBrush of the Clock. This is a dependency property.
Declaration
public Brush HourHandBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides HourHandBrush value for the Clock. The default value of the HourHandBrush property is Transparent. |
Examples
This example shows how to set HourHandBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.HourHandBrush = Brushes.Red;
}
}
}
This example shows how to set HourHandBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" HourHandBrush="Red" />
</StackPanel>
</Window>
See Also
HourHandMouseOverBorderBrush
Gets or sets HourHandMouseOverBorderBrush of the Clock. This is a dependency property.
Declaration
public Brush HourHandMouseOverBorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides HourHandMouseOverBorderBrush value for the Clock. The default value of the HourHandMouseOverBorderBrush property is Transparent. |
Examples
This example shows how to set HourHandMouseOverBorderBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.HourHandMouseOverBorderBrush = Brushes.Red;
}
}
}
This example shows how to set HourHandMouseOverBorderBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" HourHandMouseOverBorderBrush="Red" />
</StackPanel>
</Window>
See Also
HourHandMouseOverBrush
Gets or sets HourHandMouseOverBrush of the Clock. This is a dependency property.
Declaration
public Brush HourHandMouseOverBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides HourHandMouseOverBrush value for the Clock. The default value of the HourHandMouseOverBrush property is Transparent. |
Examples
This example shows how to set HourHandMouseOverBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.HourHandMouseOverBrush = Brushes.Red;
}
}
}
This example shows how to set HourHandMouseOverBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" HourHandMouseOverBrush="Red" />
</StackPanel>
</Window>
See Also
HourHandPressedBrush
Gets or sets HourHandPressedBrush of the Clock. This is a dependency property.
Declaration
public Brush HourHandPressedBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides HourHandPressedBrush value for the Clock. The default value of the HourHandPressedBrush property is Transparent. |
Examples
This example shows how to set HourHandPressedBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.HourHandPressedBrush = Brushes.Red;
}
}
}
This example shows how to set HourHandPressedBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" HourHandPressedBrush="Red" />
</StackPanel>
</Window>
See Also
InnerBorderBrush
Gets or sets InnerBorderBrush of the Clock. This is a dependency property.
Declaration
public Brush InnerBorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides InnerBorderBrush value for the Clock. The default value of the InnerBorderBrush property is Transparent. |
Remarks
InnerBorderBrush dependency property defines inner border brush of the Clock.
Examples
This example shows how to set InnerBorderBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.InnerBorderBrush = Brushes.Red;
}
}
}
This example shows how to set InnerBorderBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" InnerBorderBrush="Red" />
</StackPanel>
</Window>
See Also
InnerBorderThickness
Gets or sets inner border thickness value of the Clock. This is a dependency property.
Declaration
public Thickness InnerBorderThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Thickness | Type: System.Windows.Thickness Provides InnerBorderThickness value for the Clock. The default value of the InnerBorderThickness property is 2. |
Remarks
InnerBorderThickness dependency property defines inner border thickness of the Clock.
Examples
This example shows how to set InnerBorderThickness property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.InnerBorderThickness = new Thickness( 3 );
}
}
}
This example shows how to set InnerBorderThickness property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" InnerBorderThickness="3" />
</StackPanel>
</Window>
See Also
IsDigitalAmPmVisible
Gets or sets a value indicating whether this instance is digital am pm visible.
Declaration
public bool IsDigitalAmPmVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Type: System.Boolean Provides IsDigitalAmPmVisible value for the Clock. The default value of the IsDigitalAmPmVisible property is True. |
Remarks
If you set IsDigitalAmPmVisible to False, you`ll not be able to change am/pm value of the Clock from the digital clock.
Examples
This example shows how to set IsDigitalAmPmVisible property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.IsDigitalAmPmVisible = True;
}
}
}
This example shows how to set IsDigitalAmPmVisible property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" IsDigitalAmPmVisible="True" />
</StackPanel>
</Window>
See Also
IsInsideAmPmVisible
Gets or sets a value indicating whether this instance is inside am pm visible.
Declaration
public bool IsInsideAmPmVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Type: System.Boolean Provides IsInsideAmPmVisible value for the Clock. The default value of the IsInsideAmPmVisible property is False. |
Remarks
If you set IsInsideAmPmVisible to True, it will be visible inside the clock.
Examples
This example shows how to set IsInsideAmPmVisible property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.IsInsideAmPmVisible = True;
}
}
}
This example shows how to set IsInsideAmPmVisible property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" IsInsideAmPmVisible="True" />
</StackPanel>
</Window>
See Also
MinuteHandBorderBrush
Gets or sets MinuteHandBorderBrush of the Clock. This is a dependency property.
Declaration
public Brush MinuteHandBorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides MinuteHandBorderBrush value for the Clock. The default value of the MinuteHandBorderBrush property is Transparent. |
Examples
This example shows how to set MinuteHandBorderBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.MinuteHandBorderBrush = Brushes.Red;
}
}
}
This example shows how to set MinuteHandBorderBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" MinuteHandBorderBrush="Red" />
</StackPanel>
</Window>
See Also
MinuteHandBrush
Gets or sets MinuteHandBrush of the Clock. This is a dependency property.
Declaration
public Brush MinuteHandBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides MinuteHandBrush value for the Clock. The default value of the MinuteHandBrush property is Transparent. |
Examples
This example shows how to set MinuteHandBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.MinuteHandBrush = Brushes.Red;
}
}
}
This example shows how to set MinuteHandBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" MinuteHandBrush="Red" />
</StackPanel>
</Window>
See Also
MinuteHandMouseOverBorderBrush
Gets or sets MinuteHandMouseOverBorderBrush of the Clock. This is a dependency property.
Declaration
public Brush MinuteHandMouseOverBorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides MinuteHandMouseOverBorderBrush value for the Clock. The default value of the MinuteHandMouseOverBorderBrush property is Transparent. |
Examples
This example shows how to set MinuteHandMouseOverBorderBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.MinuteHandMouseOverBorderBrush = Brushes.Red;
}
}
}
This example shows how to set MinuteHandMouseOverBorderBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" MinuteHandMouseOverBorderBrush="Red" />
</StackPanel>
</Window>
See Also
MinuteHandMouseOverBrush
Gets or sets MinuteHandMouseOverBrush of the Clock. This is a dependency property.
Declaration
public Brush MinuteHandMouseOverBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides MinuteHandMouseOverBrush value for the Clock. The default value of the MinuteHandMouseOverBrush property is Transparent. |
Examples
This example shows how to set MinuteHandMouseOverBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.MinuteHandMouseOverBrush = Brushes.Red;
}
}
}
This example shows how to set MinuteHandMouseOverBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" MinuteHandMouseOverBrush="Red" />
</StackPanel>
</Window>
See Also
MinuteHandPressedBrush
Gets or sets MinuteHandPressedBrush of the Clock. This is a dependency property.
Declaration
public Brush MinuteHandPressedBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides MinuteHandPressedBrush value for the Clock. The default value of the MinuteHandPressedBrush property is Transparent. |
Examples
This example shows how to set MinuteHandPressedBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.MinuteHandPressedBrush = Brushes.Red;
}
}
}
This example shows how to set MinuteHandPressedBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" MinuteHandPressedBrush="Red" />
</StackPanel>
</Window>
See Also
SecondHandBrush
Gets or sets SecondHandBrush of the Clock. This is a dependency property.
Declaration
public Brush SecondHandBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides SecondHandBrush value for the Clock. The default value of the SecondHandBrush property is Transparent. |
Examples
This example shows how to set SecondHandBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.SecondHandBrush = Brushes.Red;
}
}
}
This example shows how to set SecondHandBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" SecondHandBrush="Red" />
</StackPanel>
</Window>
See Also
SecondHandMouseOverBrush
Gets or sets SecondHandMouseOverBrush of the Clock. This is a dependency property.
Declaration
public Brush SecondHandMouseOverBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides SecondHandMouseOverBrush value for the Clock. The default value of the SecondHandMouseOverBrush property is Transparent. |
Examples
This example shows how to set SecondHandMouseOverBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.SecondHandMouseOverBrush = Brushes.Red;
}
}
}
This example shows how to set SecondHandMouseOverBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" SecondHandMouseOverBrush="Red" />
</StackPanel>
</Window>
See Also
SecondHandPressedBrush
Gets or sets SecondHandPressedBrush of the Clock. This is a dependency property.
Declaration
public Brush SecondHandPressedBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Provides SecondHandPressedBrush value for the Clock. The default value of the SecondHandPressedBrush property is Transparent. |
Examples
This example shows how to set SecondHandPressedBrush property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
using System.Windows.Media;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.SecondHandPressedBrush = Brushes.Red;
}
}
}
This example shows how to set SecondHandPressedBrush property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" SecondHandPressedBrush="Red" />
</StackPanel>
</Window>
See Also
SecondHandThickness
Gets or sets second hand thickness value of the Clock. This is a dependency property.
Declaration
public double SecondHandThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Type: System.Double Provides SecondHandThickness value for the Clock. The default value of the SecondHandThickness property is 2. |
Examples
This example shows how to set SecondHandThickness property in C#.
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
namespace Sample1
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
customControlClock.SecondHandThickness = new Thickness( 3 );
}
}
}
This example shows how to set SecondHandThickness property in XAML.
<Window x:Class="Sample1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Tools.WPF"
Title="Window1" Height="300" Width="300">
<StackPanel Name="stackPanel" HorizontalAlignment="Center">
<local:Clock Name="customControlClock" SecondHandThickness="3" />
</StackPanel>
</Window>
See Also
Methods
Dispose()
Dispose Clock
Declaration
public void Dispose()
OnAMPMMouseOverButtonsArrowBrushChanged(DependencyPropertyChangedEventArgs)
Raises AMPMMouseOverButtonsArrowBrushChanged event.
Declaration
protected virtual void OnAMPMMouseOverButtonsArrowBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnAMPMMouseOverButtonsBackgroundChanged(DependencyPropertyChangedEventArgs)
Raises AMPMMouseOverButtonsBackgroundChanged event.
Declaration
protected virtual void OnAMPMMouseOverButtonsBackgroundChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnAMPMMouseOverButtonsBorderBrushChanged(DependencyPropertyChangedEventArgs)
Raises AMPMMouseOverButtonsBorderBrushChanged event.
Declaration
protected virtual void OnAMPMMouseOverButtonsBorderBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnAMPMSelectorBackgroundChanged(DependencyPropertyChangedEventArgs)
Raises AMPMSelectorBackgroundChanged event.
Declaration
protected virtual void OnAMPMSelectorBackgroundChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnAMPMSelectorBorderBrushChanged(DependencyPropertyChangedEventArgs)
Raises AMPMSelectorBorderBrushChanged event.
Declaration
protected virtual void OnAMPMSelectorBorderBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnAMPMSelectorBorderThicknessChanged(DependencyPropertyChangedEventArgs)
Raises AMPMSelectorBorderThicknessChanged event.
Declaration
protected virtual void OnAMPMSelectorBorderThicknessChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnAMPMSelectorButtonsArrowBrushChanged(DependencyPropertyChangedEventArgs)
Raises AMPMSelectorButtonsArrowBrushChanged event.
Declaration
protected virtual void OnAMPMSelectorButtonsArrowBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnAMPMSelectorButtonsBackgroundChanged(DependencyPropertyChangedEventArgs)
Raises AMPMSelectorButtonsBackgroundChanged event.
Declaration
protected virtual void OnAMPMSelectorButtonsBackgroundChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnAMPMSelectorButtonsBorderBrushChanged(DependencyPropertyChangedEventArgs)
Raises AMPMSelectorButtonsBorderBrushChanged event.
Declaration
protected virtual void OnAMPMSelectorButtonsBorderBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnAMPMSelectorCornerRadiusChanged(DependencyPropertyChangedEventArgs)
Raises AMPMSelectorCornerRadiusChanged event.
Declaration
protected virtual void OnAMPMSelectorCornerRadiusChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnAMPMSelectorForegroundChanged(DependencyPropertyChangedEventArgs)
Raises AMPMSelectorForegroundChanged event.
Declaration
protected virtual void OnAMPMSelectorForegroundChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnAMPMSelectorPositionChanged(DependencyPropertyChangedEventArgs)
Raises AMPMSelectorPositionChanged event.
Declaration
protected virtual void OnAMPMSelectorPositionChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnApplyTemplate()
Builds the current template's visual tree.
Declaration
public override void OnApplyTemplate()
OnBorderBrushChanged(DependencyPropertyChangedEventArgs)
Raises BorderBrushChanged event.
Declaration
protected virtual void OnBorderBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnBorderThicknessChanged(DependencyPropertyChangedEventArgs)
Raises BorderThicknessChanged event.
Declaration
protected virtual void OnBorderThicknessChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnCenterCircleBrushChanged(DependencyPropertyChangedEventArgs)
Raises CenterCircleBrushChanged event.
Declaration
protected virtual void OnCenterCircleBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnClockCornerRadiusChanged(DependencyPropertyChangedEventArgs)
Raises ClockCornerRadiusChanged event.
Declaration
protected virtual void OnClockCornerRadiusChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnClockFrameBrushChanged(DependencyPropertyChangedEventArgs)
Raises ClockFrameBrushChanged event.
Declaration
protected virtual void OnClockFrameBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnClockPointBrushChanged(DependencyPropertyChangedEventArgs)
Raises ClockPointBrushChanged event.
Declaration
protected virtual void OnClockPointBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnDateTimeChanged(DependencyPropertyChangedEventArgs)
Raises DateTimeChanged event.
Declaration
protected virtual void OnDateTimeChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnDialBackgroundChanged(DependencyPropertyChangedEventArgs)
Raises DialBackgroundChanged event.
Declaration
protected virtual void OnDialBackgroundChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnDialBorderThicknessChanged(DependencyPropertyChangedEventArgs)
Raises DialBorderThicknessChanged event.
Declaration
protected virtual void OnDialBorderThicknessChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnDialCenterBackgroundChanged(DependencyPropertyChangedEventArgs)
Raises DialCenterBackgroundChanged event.
Declaration
protected virtual void OnDialCenterBackgroundChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnFrameBackgroundChanged(DependencyPropertyChangedEventArgs)
Raises FrameFrameBackgroundChanged event.
Declaration
protected virtual void OnFrameBackgroundChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnFrameBorderBrushChanged(DependencyPropertyChangedEventArgs)
Raises FrameBorderBrushChanged event.
Declaration
protected virtual void OnFrameBorderBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnFrameBorderThicknessChanged(DependencyPropertyChangedEventArgs)
Raises FrameBorderThicknessChanged event.
Declaration
protected virtual void OnFrameBorderThicknessChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnFrameCornerRadiusChanged(DependencyPropertyChangedEventArgs)
Raises FrameCornerRadiusChanged event.
Declaration
protected virtual void OnFrameCornerRadiusChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnFrameInnerBorderBrushChanged(DependencyPropertyChangedEventArgs)
Raises FrameInnerBorderBrushChanged event.
Declaration
protected virtual void OnFrameInnerBorderBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnFrameInnerBorderThicknessChanged(DependencyPropertyChangedEventArgs)
Raises FrameInnerBorderThicknessChanged event.
Declaration
protected virtual void OnFrameInnerBorderThicknessChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnHourHandBorderBrushChanged(DependencyPropertyChangedEventArgs)
Raises HourHandBorderBrushChanged event.
Declaration
protected virtual void OnHourHandBorderBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnHourHandBrushChanged(DependencyPropertyChangedEventArgs)
Raises HourHandBrushChanged event.
Declaration
protected virtual void OnHourHandBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnHourHandMouseOverBorderBrushChanged(DependencyPropertyChangedEventArgs)
Raises HourHandMouseOverBorderBrushChanged event.
Declaration
protected virtual void OnHourHandMouseOverBorderBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnHourHandMouseOverBrushChanged(DependencyPropertyChangedEventArgs)
Raises HourHandMouseOverBrushChanged event.
Declaration
protected virtual void OnHourHandMouseOverBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnHourHandPressedBrushChanged(DependencyPropertyChangedEventArgs)
Raises HourHandPressedBrushChanged event.
Declaration
protected virtual void OnHourHandPressedBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnInitialized(EventArgs)
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | The RoutedEventArgs that contains the event data. |
OnInnerBorderBrushChanged(DependencyPropertyChangedEventArgs)
Raises InnerBorderBrushChanged event.
Declaration
protected virtual void OnInnerBorderBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnInnerBorderThicknessChanged(DependencyPropertyChangedEventArgs)
Raises InnerBorderThicknessChanged event.
Declaration
protected virtual void OnInnerBorderThicknessChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnIsDigitalAmPmVisibleChanged(DependencyPropertyChangedEventArgs)
Raises IsDigitalAmPmVisibleChanged event.
Declaration
protected virtual void OnIsDigitalAmPmVisibleChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnIsInsideAmPmVisibleChanged(DependencyPropertyChangedEventArgs)
Raises IsInsideAmPmVisibleChanged event.
Declaration
protected virtual void OnIsInsideAmPmVisibleChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnMinuteHandBorderBrushChanged(DependencyPropertyChangedEventArgs)
Raises MinuteHandBorderBrushChanged event.
Declaration
protected virtual void OnMinuteHandBorderBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnMinuteHandBrushChanged(DependencyPropertyChangedEventArgs)
Raises MinuteHandBrushChanged event.
Declaration
protected virtual void OnMinuteHandBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnMinuteHandMouseOverBorderBrushChanged(DependencyPropertyChangedEventArgs)
Raises MinuteHandMouseOverBorderBrushChanged event.
Declaration
protected virtual void OnMinuteHandMouseOverBorderBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnMinuteHandMouseOverBrushChanged(DependencyPropertyChangedEventArgs)
Raises MinuteHandMouseOverBrushChanged event.
Declaration
protected virtual void OnMinuteHandMouseOverBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnMinuteHandPressedBrushChanged(DependencyPropertyChangedEventArgs)
Raises MinuteHandPressedBrushChanged event.
Declaration
protected virtual void OnMinuteHandPressedBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnMouseMove(MouseEventArgs)
Invoked when MouseMove event is raised.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The instance that contains the event data. |
OnMouseUp(MouseButtonEventArgs)
Invoked when MouseUp event is raised.
Declaration
protected override void OnMouseUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | The instance that contains the event data. |
OnMouseWheel(MouseWheelEventArgs)
Invoked when OnMouseWheel event is raised.
Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseWheelEventArgs | e | The instance that contains the event data. |
OnSecondHandBrushChanged(DependencyPropertyChangedEventArgs)
Raises SecondHandBrushChanged event.
Declaration
protected virtual void OnSecondHandBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnSecondHandMouseOverBrushChanged(DependencyPropertyChangedEventArgs)
Raises SecondHandMouseOverBrushChanged event.
Declaration
protected virtual void OnSecondHandMouseOverBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnSecondHandPressedBrushChanged(DependencyPropertyChangedEventArgs)
Raises SecondHandPressedBrushChanged event.
Declaration
protected virtual void OnSecondHandPressedBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnSecondHandThicknessChanged(DependencyPropertyChangedEventArgs)
Raises SecondHandThicknessChanged event.
Declaration
protected virtual void OnSecondHandThicknessChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
Start()
Declaration
public void Start()
Stop()
Declaration
public void Stop()
Events
AMPMMouseOverButtonsArrowBrushChanged
Event that is raised when AMPMMouseOverButtonsArrowBrush property is changed.
Declaration
public event PropertyChangedCallback AMPMMouseOverButtonsArrowBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
AMPMMouseOverButtonsBackgroundChanged
Event that is raised when AMPMMouseOverButtonsBackground property is changed.
Declaration
public event PropertyChangedCallback AMPMMouseOverButtonsBackgroundChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
AMPMMouseOverButtonsBorderBrushChanged
Event that is raised when AMPMMouseOverButtonsBorderBrush property is changed.
Declaration
public event PropertyChangedCallback AMPMMouseOverButtonsBorderBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
AMPMSelectorBackgroundChanged
Event that is raised when AMPMSelectorBackground property is changed.
Declaration
public event PropertyChangedCallback AMPMSelectorBackgroundChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
AMPMSelectorBorderBrushChanged
Event that is raised when AMPMSelectorBorderBrush property is changed.
Declaration
public event PropertyChangedCallback AMPMSelectorBorderBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
AMPMSelectorBorderThicknessChanged
Event that is raised when AMPMSelectorBorderThickness property is changed.
Declaration
public event PropertyChangedCallback AMPMSelectorBorderThicknessChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
AMPMSelectorButtonsArrowBrushChanged
Event that is raised when AMPMSelectorButtonsArrowBrush property is changed.
Declaration
public event PropertyChangedCallback AMPMSelectorButtonsArrowBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
AMPMSelectorButtonsBackgroundChanged
Event that is raised when AMPMSelectorButtonsBackground property is changed.
Declaration
public event PropertyChangedCallback AMPMSelectorButtonsBackgroundChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
AMPMSelectorButtonsBorderBrushChanged
Event that is raised when AMPMSelectorButtonsBorderBrush property is changed.
Declaration
public event PropertyChangedCallback AMPMSelectorButtonsBorderBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
AMPMSelectorCornerRadiusChanged
Event that is raised when AMPMSelectorCornerRadius property is changed.
Declaration
public event PropertyChangedCallback AMPMSelectorCornerRadiusChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
AMPMSelectorForegroundChanged
Event that is raised when AMPMSelectorForeground property is changed.
Declaration
public event PropertyChangedCallback AMPMSelectorForegroundChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
AMPMSelectorPositionChanged
Event that is raised when AMPMSelectorPosition property is changed.
Declaration
public event PropertyChangedCallback AMPMSelectorPositionChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
BorderBrushChanged
Event that is raised when BorderBrush property is changed.
Declaration
public event PropertyChangedCallback BorderBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
BorderThicknessChanged
Event that is raised when BorderThickness property is changed.
Declaration
public event PropertyChangedCallback BorderThicknessChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
CenterCircleBrushChanged
Event that is raised when CenterCircleBrush property is changed.
Declaration
public event PropertyChangedCallback CenterCircleBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
ClockCornerRadiusChanged
Event that is raised when ClockCornerRadius property is changed.
Declaration
public event PropertyChangedCallback ClockCornerRadiusChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
ClockFrameBrushChanged
Event that is raised when ClockFrameBrush property is changed.
Declaration
public event PropertyChangedCallback ClockFrameBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
ClockPointBrushChanged
Event that is raised when ClockPointBrush property is changed.
Declaration
public event PropertyChangedCallback ClockPointBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
DateTimeChanged
Event that is raised when DateTime property is changed.
Declaration
public event PropertyChangedCallback DateTimeChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
DialBackgroundChanged
Event that is raised when DialBackground property is changed.
Declaration
public event PropertyChangedCallback DialBackgroundChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
DialBorderThicknessChanged
Event that is raised when dial BorderThickness property is changed.
Declaration
public event PropertyChangedCallback DialBorderThicknessChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
DialCenterBackgroundChanged
Event that is raised when DialCenterBackground property is changed.
Declaration
public event PropertyChangedCallback DialCenterBackgroundChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
FrameBackgroundChanged
Event that is raised when FrameBackground property is changed.
Declaration
public event PropertyChangedCallback FrameBackgroundChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
FrameBorderBrushChanged
Event that is raised when FrameBorderBrush property is changed.
Declaration
public event PropertyChangedCallback FrameBorderBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
FrameBorderThicknessChanged
Event that is raised when FrameBorderThickness property is changed.
Declaration
public event PropertyChangedCallback FrameBorderThicknessChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
FrameCornerRadiusChanged
Event that is raised when FrameCornerRadius property is changed.
Declaration
public event PropertyChangedCallback FrameCornerRadiusChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
FrameInnerBorderBrushChanged
Event that is raised when FrameInnerBorderBrush property is changed.
Declaration
public event PropertyChangedCallback FrameInnerBorderBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
FrameInnerBorderThicknessChanged
Event that is raised when FrameInnerBorderThickness property is changed.
Declaration
public event PropertyChangedCallback FrameInnerBorderThicknessChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
HourHandBorderBrushChanged
Event that is raised when HourHandShadowBrush property is changed.
Declaration
public event PropertyChangedCallback HourHandBorderBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
HourHandBrushChanged
Event that is raised when HourHandBrush property is changed.
Declaration
public event PropertyChangedCallback HourHandBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
HourHandMouseOverBorderBrushChanged
Event that is raised when HourHandMouseOverBorderBrush property is changed.
Declaration
public event PropertyChangedCallback HourHandMouseOverBorderBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
HourHandMouseOverBrushChanged
Event that is raised when HourHandMouseOverBrush property is changed.
Declaration
public event PropertyChangedCallback HourHandMouseOverBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
HourHandPressedBrushChanged
Event that is raised when HourHandPressedBrush property is changed.
Declaration
public event PropertyChangedCallback HourHandPressedBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
InnerBorderBrushChanged
Event that is raised when InnerBorderBrush property is changed.
Declaration
public event PropertyChangedCallback InnerBorderBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
InnerBorderThicknessChanged
Event that is raised when inner BorderThickness property is changed.
Declaration
public event PropertyChangedCallback InnerBorderThicknessChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
IsDigitalAmPmVisibleChanged
Event that is raised when IsDigitalAmPmVisible property is changed.
Declaration
public event PropertyChangedCallback IsDigitalAmPmVisibleChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
IsInsideAmPmVisibleChanged
Event that is raised when IsInsideAmPmVisible property is changed.
Declaration
public event PropertyChangedCallback IsInsideAmPmVisibleChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
MinuteHandBorderBrushChanged
Event that is raised when MinuteHandShadowBrush property is changed.
Declaration
public event PropertyChangedCallback MinuteHandBorderBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
MinuteHandBrushChanged
Event that is raised when MinuteHandBrush property is changed.
Declaration
public event PropertyChangedCallback MinuteHandBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
MinuteHandMouseOverBorderBrushChanged
Event that is raised when MinuteHandMouseOverBorderBrush property is changed.
Declaration
public event PropertyChangedCallback MinuteHandMouseOverBorderBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
MinuteHandMouseOverBrushChanged
Event that is raised when MinuteHandMouseOverBrush property is changed.
Declaration
public event PropertyChangedCallback MinuteHandMouseOverBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
MinuteHandPressedBrushChanged
Event that is raised when MinuteHandPressedBrush property is changed.
Declaration
public event PropertyChangedCallback MinuteHandPressedBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
SecondHandBrushChanged
Event that is raised when SecondHandBrush property is changed.
Declaration
public event PropertyChangedCallback SecondHandBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
SecondHandMouseOverBrushChanged
Event that is raised when SecondHandMouseOverBrush property is changed.
Declaration
public event PropertyChangedCallback SecondHandMouseOverBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
SecondHandPressedBrushChanged
Event that is raised when SecondHandPressedBrush property is changed.
Declaration
public event PropertyChangedCallback SecondHandPressedBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
SecondHandThicknessChanged
Event that is raised when SecondHandThickness property is changed.
Declaration
public event PropertyChangedCallback SecondHandThicknessChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |