Hi,
1) Zoombox scrolling in code-behind
You can simulate a Pan :
You can define your own editor for the "Degree" property :
1) Zoombox scrolling in code-behind
You can simulate a Pan :
private void Button_Click( object sender, RoutedEventArgs e )
{
var command = Zoombox.PanDown as RoutedCommand;
command.Execute( null, myZoombox );
}
2) Editor increment by 90You can define your own editor for the "Degree" property :
<xctk:PropertyGrid x:Name="_propertyGrid">
<xctk:PropertyGrid.EditorDefinitions>
<xctk:EditorTemplateDefinition TargetProperties="Degree">
<xctk:EditorTemplateDefinition.EditingTemplate>
<DataTemplate>
<xctk:PropertyGridEditorIntegerUpDown Minimum="0"
Maximum="360"
Increment="90"
Value="{Binding Value}" />
</DataTemplate>
</xctk:EditorTemplateDefinition.EditingTemplate>
</xctk:EditorTemplateDefinition>
</xctk:PropertyGrid.EditorDefinitions>
</xctk:PropertyGrid>