MetroThumbContentControl Class

Summary

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 "/api/MahApps.Metro.Controls/ContentControlEx" Base0-->Base1["ContentControl"] Type-.->Interface0["IMetroThumb"] click Interface0 "/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 Constant Value Summary
ContentCharacterCasingProperty
Identifies the ContentCharacterCasing dependency property.
Inherited from ContentControlEx
static
DragCompletedEvent
static
DragDeltaEvent
static
DragStartedEvent
static
IsDraggingProperty
DependencyProperty for the IsDragging property.
static
RecognizesAccessKeyProperty
Identifies the RecognizesAccessKey dependency property.
Inherited from ContentControlEx
static

Properties

Name Value 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