This is a migrated thread and some comments may be shown as answers.

RadMenu Like photoshop

1 Answer 83 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Iivan
Top achievements
Rank 1
Iivan asked on 04 Oct 2013, 06:32 AM
Hi.
https://dl.dropboxusercontent.com/u/87574708/%D0%91%D0%B5%D0%B7%D1%8B%D0%BC%D1%8F%D0%BD%D0%BD%D1%8B%D0%B9.png

In photoshop menu MenuItem parent has toggleButton style, and hi is like selector from children MenuItem .

<telerik:RadMenu  Orientation="Vertical"  telerik:StyleManager.Theme="Windows8Touch" ClickToOpen="True" >          
          <telerik:RadMenuItem Header="{Binding Path=SelectorType,Mode=TwoWay}" cal:Message.Attach="[Event Click] = [Action SetOperation($source )]" >
              <telerik:RadMenuItem Header="1" cal:Message.Attach="[Event Click] = [Action SetOperationSelect($source )]" />
              <telerik:RadMenuItem Header="2" cal:Message.Attach="[Event Click] = [Action SetOperationSelectRing($source )]" />
              <telerik:RadMenuItem Header="3" cal:Message.Attach="[Event Click] = [Action SetOperationSelectRadius($source )]" />
          </telerik:RadMenuItem >
</telerik:RadMenu>

Why Event Click on root firing  before click on child elements.
Has any methods to supperes opening child elements? I want to open him on mouse touchdown on 2 sec.

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 04 Oct 2013, 01:58 PM
Hello Iivan,

For the explained scenario I would suggest that you use a ToggleButton with a ContextMenu attached to it instead of RadMenu. This way you can easily delay the appearance of the menu. For your convenience we have prepared and attached a sample project which demonstrates the exact approach.

Hope this will work for you.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Menu
Asked by
Iivan
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or