Search found 47 matches
- 26 Jun 2019, 16:04
- Forum: General Discussion
- Replies: 4
- Views: 3061
Re: Move panels on mouse down over element
how would I find the values from the args? I read on the forums this contains vector movement information regarding the MouseMove alternatively, I would have to feed in a vector2 on MouseDown but when removing events from elements, are anon/lamba functions comparible? There doesn't appear to be much...
- 26 Jun 2019, 04:43
- Forum: General Discussion
- Replies: 4
- Views: 3061
Re: Move panels on mouse down over element
Ah nvm, Header.MouseDown += (object sender, MouseButtonEventArgs args) => { }; I originally had trouble because my IDE reported that MouseDown should be on the right side of += and no matter what form i did to apply a mouse Event, it wasn't compiling. and when looking at the documentation on Mouse e...
- 25 Jun 2019, 17:08
- Forum: General Discussion
- Replies: 4
- Views: 3061
Move panels on mouse down over element
I have made some successful strides in my script, and things are coming along nicely. https://video.twimg.com/ext_tw_video/1143518845534998529/pu/vid/708x442/VZSHbaGDrRbHvI0z.mp4 but I have realised that I need to impliment some sort of drag-drop features, but not as per the documentation. the docum...
- 19 Jun 2019, 00:22
- Forum: General Discussion
- Replies: 7
- Views: 1059
Re: selectable element after last character in ListviewHeader
Show code please, a tiny picture doesn't explain anything
- 17 Jun 2019, 23:52
- Forum: General Discussion
- Replies: 2
- Views: 2431
Re: Image on Button?
I've tried attaching the image as the content before, I ended up with the name of the texture as text, so I assumed I was doing something wrong.
Thanks!
Thanks!
- 17 Jun 2019, 13:18
- Forum: General Discussion
- Replies: 2
- Views: 2431
Image on Button?
I'm looking at creating icons on buttons using textures but I don't want to replace the existing background is that possible? My current code snippet, but it replaces the background of the entire button. is there an overlay or a content control that accepts images? BottomDock.Children.Add(new Button...
- 12 Jun 2019, 13:38
- Forum: General Discussion
- Replies: 16
- Views: 4921
Re: How to get Actual Size programmatically based on internal content?
Originally, I was looking at menu items, but realized that some content I would need in those span outside typical menu entries, such as volume controls and other tools. so I moved to StackPanels - I will look at menu's again. as for Blend, it's an overbearing application with tools and widgets that...
- 12 Jun 2019, 01:03
- Forum: General Discussion
- Replies: 16
- Views: 4921
Re: How to get Actual Size programmatically based on internal content?
to an extent, yes. but due to the nature of my project, I can't rely on XAML files as the content needs to change dynamically. either through user customization or live updates so I'm attempting to do all this mostly in C# I want to break away from the rigidity of the XAML files and the problems the...
- 11 Jun 2019, 01:01
- Forum: General Discussion
- Replies: 16
- Views: 4921
Re: How to get Actual Size programmatically based on internal content?
it actually uses stack panels already, but it's not a child of the initiator, as I am attempting to create menu's like you would in windows application where content needs to overlay other elements. Noesis.StackPanel DropMenu = new Noesis.StackPanel { Background = Brushes.Beige, MinWidth = 150, MaxW...
- 10 Jun 2019, 07:39
- Forum: General Discussion
- Replies: 16
- Views: 4921
Re: How to get Actual Size programmatically based on internal content?
Found a solution, the documentation doesn't give an example. once it's added to the main UI, you add a .Loaded =+(){}' DropMenu.Loaded += (object _sender, Noesis.RoutedEventArgs e) => { Button origin = ((Noesis.Button)originalSender); Point position = origin.PointToScreen(new Point(0f, 26f)); positi...