<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:WPFCustomControl">
    <HierarchicalDataTemplate DataType="{x:Type local:FLPATHTree}"  
            ItemsSource="{Binding Children}">
        <StackPanel Orientation="Horizontal">
            <Image Source="{Binding ImageSource}" Width="16" Height ="16" x:Name="TreeViewImage"/> //この行
            <TextBlock Text="{Binding FLPATH.FileName}"/>   
        </StackPanel>
    </HierarchicalDataTemplate>
</ResourceDictionary>
<Image Source="{Binding ImageSource}" Width="16" Height ="16" x:Name="TreeViewImage"/>
上記のWidthとHeightをコードから書き換える方法はあるでしょうか?
FLPATHTreeのプロパティーに値を持たせ、バインドさせることは可能でしたが、リソースを直接指定して書き換えることはできるのでしょうか?
this.FindName("TreeViewImage"); じゃリソースだから何も入ってきてくれないんですよねT^T