Search found 7 matches
- 23 Apr 2020, 20:17
- Forum: General Discussion
- Replies: 1
- Views: 1115
Inheriting GridViewColumn
On trying to inherit a GridViewColumn Unity crashes. How to properly inherit GridViewColum ? public class GridViewColumnTest : GridViewColumn { public static readonly DependencyProperty TestProperty = DependencyProperty.Register ( "Test", typeof(string), typeof(GridViewColumnTest), new Pro...
- 23 Apr 2020, 16:02
- Forum: General Discussion
- Replies: 1
- Views: 2030
Sort a GridView Column When a Header Is Clicked
I'm trying to follow this example to sort a gridview colum when a header is clicked. https://docs.microsoft.com/en-us/dotnet/framework/wpf/controls/how-to-sort-a-gridview-column-when-a-header-is-clicked I'm having some trouble doing it: 'CollectionViewSource' does not contain a definition for 'GetDe...
- 23 Apr 2020, 14:10
- Forum: General Discussion
- Replies: 2
- Views: 2025
Re: Connect GridViewColumnHeader.Click event from ListView
Thank you for your help!
- 23 Apr 2020, 12:20
- Forum: General Discussion
- Replies: 2
- Views: 2025
Connect GridViewColumnHeader.Click event from ListView
I have a ListView and I want to connect the event GridViewColumnHeader.Click to the function PersonListView_Click <ListView ItemsSource="{Binding Person}" GridViewColumnHeader.Click="PersonListView_Click"> <ListView.View> <GridView> <GridViewColumn DisplayMemberBinding="{Bin...
- 07 Apr 2020, 09:58
- Forum: General Discussion
- Replies: 1
- Views: 2498
How to connect a slider event
How can I connect a slider event in C# to Noesis ? The code I have bellow protected override bool ConnectEvent(object source, string eventName, string handlerName) { if (eventName == "ValueChanged" && handlerName == "Slider_ValueChanged") { ((Slider)source).ValueChanged +...
- 05 Apr 2020, 15:13
- Forum: General Discussion
- Replies: 1
- Views: 2160
How to set data to a Path
How can I set Data to a path
I'm looking at this post
viewtopic.php?t=515#p2637
But for me 'Path' does not contain a definition for 'SetData'.
What am I missing ?
I'm looking at this post
viewtopic.php?t=515#p2637
But for me 'Path' does not contain a definition for 'SetData'.
What am I missing ?
- 08 Mar 2020, 15:31
- Forum: General Discussion
- Replies: 2
- Views: 10136
Crop an Image into 9 tiles
How can I divide an image into many other tiles ? What I have at the moment is a "random image generator". But what I would need is a way to read the bytes of a bitmap image in order to copy only some part of the image I guess. But how can I access the bytes of a bitmap Image ? Here is som...