| <Style TargetType="telerik:GridViewRow" x:Key="OrderItemStyle"> |
| <Setter Property="dragDrop:RadDragAndDropManager.AllowDrop" Value="True" /> |
| <Setter Property="dragDrop:RadDragAndDropManager.DropQueryEvent" Value="OnRowDropQuery" /> |
| <Setter Property="dragDrop:RadDragAndDropManager.AllowDrag" Value="True" /> |
| </Style> |
<telerik:RadGridView Background="Black" HorizontalContentAlignment="Center" Loaded="GridView_Loaded" BorderThickness="0" AutoGenerateColumns="False" Grid.Row="0" x:Name="GridView" EditTriggers="None" CanUserDeleteRows="False" Foreground="White" SelectionChanged="GridView_SelectionChanged" RowIndicatorVisibility="Collapsed">
Good Morning,
I am happy with the min and max values the AutoRange is providing for the Y-Axis for my line chart but the AutoRange has a step of 20 and I prefer 10.
Is it possible to set a manual step if setting AutoRange to true?
Furthermore, is it possible to set a max value for the AutoRange to use, as I notice the y range ends a little higher than it really needs to? For example, the Y-Axis range may start at 0 and end at 15 when it really only needs to end at 10, as the highest Y value is 9.5.
Thank you in advance,
David.
private void RadMenuItem_Click(object sender, Telerik.Windows.RadRoutedEventArgs e)
{
RadMenuItem item = e.Source as RadMenuItem;
RadDropDownButton btn = item.ParentOfType<RadDropDownButton>();
if (btn != null)
{
btn.IsOpen = false;
}
}
Here is the SplitButton:
<telerik:RadSplitButton Command="{Binding Path=ThisButtonComman}"
ToolTip="Default action."
Content="Click this button"
Height="25"
Margin="10,5,0,5"
AutomationProperties.AutomationId="SweetSplitButton"
AutomationProperties.Name="Sweet split button.">
<telerik:RadSplitButton.DropDownContent>
<telerik:RadMenu telerik:StyleManager.Theme="Summer" Background="Transparent" Orientation="Vertical">
<telerik:RadMenuItem Command="{Binding Path=Command1}"
AutomationProperties.AutomationId="Id1"
AutomationProperties.Name="Name1." />
<telerik:RadMenuItem Command="{Binding Path=Command1}"
AutomationProperties.AutomationId="Id2"
AutomationProperties.Name="Name2." />
<telerik:RadMenuItem Command="{Binding Path=Command3}"
AutomationProperties.AutomationId="Id3"
AutomationProperties.Name="Name3." />
</telerik:RadMenu>
</telerik:RadSplitButton.DropDownContent>
</telerik:RadSplitButton>