Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to add a component to Context menu item which will create on click?

$
0
0

I have context manu:

    <ContextMenu x:Key="MyContextMenu">
        <MenuItem Header="Send" Click="MenuItem_Click_2">
        </MenuItem>
    </ContextMenu>

I need to add the Color Picker:

    <wpfx:ColorPicker DisplayColorAndName="True" Height="30" Margin="29,170,366,111" Name="colorPicker2" />

at the menu item (ChangeColor) and after click on it want the color picker shows up. How can i do it? Thanks.


Viewing all articles
Browse latest Browse all 18858

Trending Articles