MetroThumbContentControl Class
The MetroThumbContentControl control can be used for titles or something else and enables basic drag movement functionality.
Namespace
MahApps.Metro.Controls
Interfaces
Base Types
graph BT Type-->Base0["ContentControlEx"] click Base0 "/mahapps.com/api/MahApps.Metro.Controls/ContentControlEx" Base0-->Base1["ContentControl"] Type-.->Interface0["IMetroThumb"] click Interface0 "/mahapps.com/api/MahApps.Metro.Controls/IMetroThumb" Type-.->Interface1["IInputElement"] Type["MetroThumbContentControl"] class Type type-node

Syntax

public class MetroThumbContentControl : ContentControlEx, IMetroThumb, IInputElement

Events

Name Type Summary
DragCompleted DragCompletedEventHandler
Adds or remove a DragCompletedEvent handler
DragDelta DragDeltaEventHandler
Adds or remove a DragDeltaEvent handler
DragStarted DragStartedEventHandler
Adds or remove a DragStartedEvent handler

Fields

Name Field Type Constant Value Summary
ContentCharacterCasingProperty DependencyProperty
Identifies the ContentCharacterCasing dependency property.
Inherited from ContentControlEx
static
DragCompletedEvent RoutedEvent
static
DragDeltaEvent RoutedEvent
static
DragStartedEvent RoutedEvent
static
IsDraggingProperty DependencyProperty
DependencyProperty for the IsDragging property.
static
RecognizesAccessKeyProperty DependencyProperty
Identifies the RecognizesAccessKey dependency property.
Inherited from ContentControlEx
static

Properties

Name Property Type Summary
ContentCharacterCasing CharacterCasing
Gets or sets the character casing of the Content.
Inherited from ContentControlEx
IsDragging bool
Indicates that the left mouse button is pressed and is over the MetroThumbContentControl.
RecognizesAccessKey bool
Determine if the inner ContentPresenter should use AccessText in its style
Inherited from ContentControlEx

Methods