
I am a PowerShell user so I want to get notfication of a change to the value of a ColorEditBox. The following is a subset of XAML code I am using which is loaded at runtime.
<propgrid:PropertyGridPropertyItem ValueName="Property6" DisplayName="Property 6" Value="Value3" DefaultValue="Value3"
Description="This is the third property." Category="Category2" />
<propgrid:PropertyGridPropertyItem x:Name="ColorItem" DisplayName="ColorEditBox" Description="A ColorEditBox used to modify a Color." ValueName="Property7">
<propgrid:PropertyGridPropertyItem.ValueTemplate>
<DataTemplate>
<editors:ColorEditBox x:Name="editBox" Value="{x:Static Colors.Blue}">
</editors:ColorEditBox>
</DataTemplate>
</propgrid:PropertyGridPropertyItem.ValueTemplate>
</propgrid:PropertyGridPropertyItem>
My PowerShell app can detect the change to Property6 using the PropertyChanged Event but I cannot see any changes to the ColorEditBox.
The reason I am using PowerShell is based on my customer's requirements so I cannot use C# or VB. Any thoughts?