<Window x:Class="DisableCellBasedOnValueInAnotherCell.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    xmlns:local="clr-namespace:DisableCellBasedOnValueInAnotherCell"
    Title="Window1" Height="800" Width="800" WindowStartupLocation="CenterScreen">
    <Window.Resources>
        <local:DisableCellBehavior x:Key="DisableCellBehavior" Value="50"/>
    </Window.Resources>
    <Grid>
      <telerik:RadGridView Name="GridView" local:AttachedBehavior.DisableCellBehavior="{StaticResource DisableCellBehavior}"></telerik:RadGridView>
    </Grid>
</Window>
