Click here to Skip to main content
15,915,864 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: button style Pin
michaelgr126-Feb-12 20:23
michaelgr126-Feb-12 20:23 
GeneralRe: button style Pin
Pete O'Hanlon26-Feb-12 22:10
mvePete O'Hanlon26-Feb-12 22:10 
AnswerRe: button style Pin
Bernhard Hiller26-Feb-12 20:48
Bernhard Hiller26-Feb-12 20:48 
Questionmulti setter Pin
michaelgr125-Feb-12 3:59
michaelgr125-Feb-12 3:59 
QuestionHow to snap polygon to another polygon?? Pin
iamnewguy24-Feb-12 10:24
iamnewguy24-Feb-12 10:24 
AnswerRe: How to snap polygon to another polygon?? Pin
gazengel jerome24-Apr-24 19:15
gazengel jerome24-Apr-24 19:15 
QuestionProblem with Entity Data Model's connectionstring - WPF Pin
jadughar24-Feb-12 4:35
jadughar24-Feb-12 4:35 
AnswerRe: Problem with Entity Data Model's connectionstring - WPF Pin
Dean Oliver24-Feb-12 21:37
Dean Oliver24-Feb-12 21:37 
QuestionWPF and MVVM Pin
radhwane23-Feb-12 22:43
radhwane23-Feb-12 22:43 
AnswerRe: WPF and MVVM Pin
Pete O'Hanlon23-Feb-12 23:02
mvePete O'Hanlon23-Feb-12 23:02 
GeneralRe: WPF and MVVM Pin
Abhinav S24-Feb-12 17:12
Abhinav S24-Feb-12 17:12 
AnswerRe: WPF and MVVM Pin
Abhinav S24-Feb-12 17:12
Abhinav S24-Feb-12 17:12 
Questionmouse click Pin
michaelgr122-Feb-12 21:04
michaelgr122-Feb-12 21:04 
AnswerRe: mouse click Pin
Abhinav S22-Feb-12 21:41
Abhinav S22-Feb-12 21:41 
GeneralRe: mouse click Pin
michaelgr122-Feb-12 21:45
michaelgr122-Feb-12 21:45 
GeneralRe: mouse click Pin
Pete O'Hanlon22-Feb-12 22:02
mvePete O'Hanlon22-Feb-12 22:02 
GeneralRe: mouse click Pin
michaelgr122-Feb-12 22:04
michaelgr122-Feb-12 22:04 
AnswerRe: mouse click Pin
Abhinav S23-Feb-12 0:49
Abhinav S23-Feb-12 0:49 
QuestionTreeview Expand/Collapse icons on right side in WPF Pin
Issac99922-Feb-12 18:08
Issac99922-Feb-12 18:08 
QuestionMerge cells - Silverlight Pin
Lê Tùng Lâm22-Feb-12 15:12
Lê Tùng Lâm22-Feb-12 15:12 
AnswerRe: Merge cells - Silverlight Pin
Abhinav S22-Feb-12 18:27
Abhinav S22-Feb-12 18:27 
GeneralRe: Merge cells - Silverlight Pin
Lê Tùng Lâm23-Feb-12 15:04
Lê Tùng Lâm23-Feb-12 15:04 
Questionleft button context menu Pin
michaelgr122-Feb-12 2:40
michaelgr122-Feb-12 2:40 
Questioncontext menu Pin
michaelgr122-Feb-12 1:35
michaelgr122-Feb-12 1:35 
Hello,
I have a button and a context menu on it.
I want to align the context menu to be opened on top of the button. I mean on the Upper Left corner of the button. How can i do it in XAML?

currently i use the code:
Button Grid.Column="1" BorderThickness="0" Name="dropDownbtn" Click="dropDownbtn_Click" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">
            <Image Source="/AQUA.ClientServices.Presentation;component/Images/dropDown.png" ClipToBounds="True" />
            <Button.ContextMenu>
                <ContextMenu BorderThickness="0" Name="LeftClickMenu" MouseLeave="LeftClickMenu_MouseLeave">
                    <MenuItem Name="ViewReportItem" Header="View Report" Command="{Binding ViewReportCommand}"/>
                    <MenuItem Name="ExportReportItem" Header="Export Report" Command="{Binding ExportReportCommand}"/>
                    <MenuItem Name="AbortReportItem" Header="Abort Report" Command="{Binding AbortReportCommand}"/>
                </ContextMenu>
            </Button.ContextMenu>
        </Button>

AnswerRe: context menu Pin
Pete O'Hanlon22-Feb-12 2:36
mvePete O'Hanlon22-Feb-12 2:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.