Mini Kabibi Habibi

Current Path : C:/Users/Public/Documents/DXperience 13.1 Demos/WPF/DevExpress.VideoRent.Wpf/Bin/
Upload File :
Current File : C:/Users/Public/Documents/DXperience 13.1 Demos/WPF/DevExpress.VideoRent.Wpf/Bin/NoteControl.xaml

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
    xmlns:helpers="clr-namespace:DevExpress.VideoRent.Wpf.Helpers"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Style TargetType="helpers:NoteControl">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="helpers:NoteControl">
                    <Border BorderThickness="1" BorderBrush="#FF8D8080" Background="#FFFFFFE1">
                        <Grid VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                            </Grid.ColumnDefinitions>
                            <Image Source="../../Images/Exclamation.png" Stretch="None" />
                            <dxe:TextEdit Grid.Column="1" Background="Transparent" ShowBorder="False" Text="{Binding Text, RelativeSource={RelativeSource TemplatedParent}}" TextWrapping="Wrap" />
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

</ResourceDictionary>