<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="C1Extended_Demo.SliderNumericEditor" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml">
    <UserControl.Resources>
        <c1:VisibilityConverter x:Key="visibilityConverter" />
    </UserControl.Resources>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="40" />
        </Grid.ColumnDefinitions>
        <CheckBox x:Name="checkNullable" Grid.Column="0" Width="30" Margin="0 0 -12 0" HorizontalAlignment="Left" />
        <Slider x:Name="slider" Grid.Column="1" IsEnabled="{Binding ElementName=checkNullable,Path=IsChecked}" />
        <TextBlock x:Name="lblNumber" Grid.Column="2" Foreground="Black" FontSize="10" Margin="5 0 0 0" HorizontalAlignment="Left" VerticalAlignment="Center" />
    </Grid>
</UserControl>