Click here to Skip to main content
12,291,573 members (75,570 online)
Click here to Skip to main content

Stats

34.6K views
5K downloads
40 bookmarked
Posted

WPF Draggable Label

, 13 Apr 2010 CPOL
WPF label control that can be dragged and resized at runtime
DraggableLabelTest
bin
Release
DraggableLabelTest.exe
DraggableLabelTest.pdb
DraggableLabelTest.vshost.exe
DraggableLabelTest.vshost.exe.manifest
RtwControls.DraggableLabel.dll
RtwControls.DraggableLabel.pdb
WPFToolkit.dll
WPFToolkit.pdb
Properties
DraggableLabel
bin
Release
RtwControls.DraggableLabel.dll
RtwControls.DraggableLabel.pdb
Properties
Themes
<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:RtwControls">
    <Style TargetType="{x:Type local:DraggableLabel}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type local:DraggableLabel}">
                    <Border Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}">

                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Rajitha Wimalasooriya
Software Developer (Senior)
Australia Australia
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160518.1 | Last Updated 13 Apr 2010
Article Copyright 2010 by Rajitha Wimalasooriya
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid