Intersoft ClientUI Documentation
UXThumb Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Controls Namespace : UXThumb Class






Represents a control that can be dragged by the user Represents a control that can be dragged by the user.

Object Model

UXThumb Class

Syntax

Visual Basic (Declaration) 
<TemplateVisualStateAttribute(Name="Focused", GroupName="FocusStates")>
<TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")>
Public Class UXThumb 
   Inherits Intersoft.Client.Framework.ISControl
   Implements IControlIFramework, ILicensing 
Visual Basic (Usage)Copy Code
Dim instance As UXThumb
C# 
[TemplateVisualStateAttribute(Name="Focused", GroupName="FocusStates")]
[TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
public class UXThumb : Intersoft.Client.Framework.ISControl, IControlIFramework, ILicensing  
Delphi 
public class UXThumb = class(Intersoft.Client.Framework.ISControl, IControl, IFramework, ILicensing)
JScript 
TemplateVisualStateAttribute(Name="Focused", GroupName="FocusStates")
TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")
public class UXThumb extends Intersoft.Client.Framework.ISControl implements IControlIFramework, ILicensing 
Managed Extensions for C++ 
[TemplateVisualStateAttribute(Name="Focused", GroupName="FocusStates")]
[TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
public __gc class UXThumb : public Intersoft.Client.Framework.ISControl, IControlIFramework, ILicensing  
C++/CLI 
[TemplateVisualStateAttribute(Name="Focused", GroupName="FocusStates")]
[TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
public ref class UXThumb : public Intersoft.Client.Framework.ISControl, IControlIFramework, ILicensing  

Remarks

The UXThumb control can be included in another control, such as a UXSliderBar or UXClock control, to let the user change the control's value.

UXThumb provides DragStarted, DragCompleted and DragDelta events to manage drag operations associated with the mouse pointer. When the user presses the left mouse button, the UXThumb control receives logical focus and mouse capture, and the DragStarted event is raised. While the UXThumb control has focus and mouse capture, the DragDelta event can be raised multiple times without limit. When the user releases the left mouse button, the UXThumb control loses mouse capture and the DragCompleted  event is raised.

The event information provides a change in position, but does not reposition the UXThumb. You must manually change or reposition the UXThumb or any other elements that you want to resize or change as a result of the drag operation. The UXThumb control does not provide drag-and-drop functionality.

Inheritance Hierarchy

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

Requirements

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

See Also

© 2012 All Rights Reserved.