When I set the command to an ApplicationCommand or an EditingCommand for a button within a standard
ToolBar as follows:these commands fire correctly for text contained within a RichTextBox.<
ToolBar
>
<
Button
Command
=
"ApplicationCommands.Cut"
ToolTip
=
"Cut"
>
<
Image
Source
=
"/Project;component/Images/editcut.png"
/>
</
Button
>
<
Button
Command
=
"EditingCommands.ToggleBold"
ToolTip
=
"Bold"
>
<
TextBlock
FontWeight
=
"Bold"
><
Run
Text
=
"B"
/></
TextBlock
>
</
Button
>
</
ToolBar
>
However if I change the ToolBar to a RadToolBar, the buttons are disabled.
What do I need to do to allow these commands to fire as expected?
public
MainWindow()
{
InitializeComponent();
//Creating the second Y axis
AxisY secondaryAxis =
new
AxisY();
secondaryAxis.AxisName = SECONDARY_AXIS_NAME;
secondaryAxis.AutoRange =
false
;
secondaryAxis.DefaultLabelFormat =
"N"
;
secondaryAxis.Step = 10000000;
secondaryAxis.MinValue = 0;
secondaryAxis.MaxValue = 100000000;
chart.DefaultView.ChartArea.AdditionalYAxes.Add(secondaryAxis);
}
void
SchedulerView_ShowDialog(
object
sender, ShowDialogEventArgs e)
{
// Here goes the custom modal UI
// ...
e.Cancel =
true
;
}
I would like to be able to capture a MouseDown event on the scroll bar (or scroll bar thumb) and a MouseUp event if a MouseDown event is triggered on the scroll bar thumb. I do not want to disrupt the functionality of the scroll bar (ie. I don't want to do anything like put an transparent control over the scroll bar), I just want to capture any MouseDown and MouseUp event on the chart, irrespective on the scroll bar or scroll bar thumb.
Kind regards,
Dave.
Hello Sir or Ma'am,
I'm not sure if this is a result of your code or a bug in Expression Blend 3 & 4, but I posted a bug on Microsoft's site concerning your RadGridView control. Basically, I am trying to "Edit Template -> Edit a copy" on this control and my Blend.exe process spins indefinetely. The template never gets added to the application and Blend becomes non responsive. It has not work several times alread even though I rebooted my machine. Other controls like "RadButton" work just fine. Just the RadGridView is causing this issue.
Any help you can offer would be appreciated.
- Rashad Rivera
Omegus Prime, LLC