Summary
The MetroThumbContentControl control can be used for titles or something else and enables basic drag movement functionality.
- Namespace
- MahApps
.Metro .Controls - Interfaces
-
- IMetroThumb
- IInputElement
- Base Types
-
- ContentControl
- ContentControlEx
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 | Drag |
Adds or remove a DragCompletedEvent handler
|
DragDelta | Drag |
Adds or remove a DragDeltaEvent handler
|
DragStarted | Drag |
Adds or remove a DragStartedEvent handler
|
Fields
Name | Constant Value | Summary |
---|---|---|
Content |
Identifies the
ContentCharacterCasing dependency property.Inherited from ContentControlEx
static
|
|
DragCompletedEvent |
static
|
|
DragDeltaEvent |
static
|
|
DragStartedEvent |
static
|
|
IsDraggingProperty |
DependencyProperty for the IsDragging property.
static
|
|
Recognizes |
Identifies the
RecognizesAccessKey dependency property.Inherited from ContentControlEx
static
|
Properties
Name | Value | Summary |
---|---|---|
Content |
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
Name | Value | Summary |
---|---|---|
CancelDragAction |
void | |
OnContentChanged |
void |
Inherited from ContentControlEx
|
On |
AutomationPeer | |
OnLostTouchCapture |
void | |
On |
void | |
OnMouseLeftButtonUp |
void | |
OnMouseMove |
void | |
OnPreviewTouchDown |
void | |
OnPreviewTouchUp |
void |