No announcements
Found 3914136 threads
-
2 Votes
Create DataGrid.Columns from code behind using WPF
>So how can I bind this using my given Xaml.Answered | 3 Replies | 6570 Views | Created by Sabyasachi.M - Monday, August 3, 2015 10:22 AM | Last reply by Magnus (MM8) - Tuesday, August 4, 2015 1:51 PM -
1 Votes
WPF SVG binding in code behind
I use inkscape for this: https://inkscape.org/en/ You can use the resulting string as a geometry and bind a path to it.Answered | 3 Replies | 5755 Views | Created by PankajDeharia - Monday, November 17, 2014 11:01 AM | Last reply by Andy ONeill - Tuesday, November 18, 2014 8:33 AM -
5 Votes
Create table in WPF
http://www.scottlogic.com/blog/2008/11/26/multiselect-datagrid-with-checkboxes.html http://stackoverflow.com/questions/14631985/how-to-assign-checkbox-on-datagri ...Answered | 9 Replies | 879 Views | Created by Miley H - Friday, February 7, 2014 8:44 AM | Last reply by Miley H - Saturday, February 8, 2014 2:36 PM -
0 Votes
wpf datagrid - binding question about code behind
I think you should consider MVVM and putting the data manipulation logic into a viewmodel instead of code behind.Answered | 3 Replies | 1714 Views | Created by db_dweeb - Tuesday, November 19, 2013 4:37 PM | Last reply by Magnus (MM8) - Wednesday, November 20, 2013 12:18 PM -
3 Votes
WPF get Timeline in Code-Behind and manipulate it
https://social.msdn.microsoft.com/Forums/vstudio/en-US/31a01239-4c2b-4edd-b9d7-6479a4e75b10/get-time-elapsed-from-storyboard?Answered | 3 Replies | 1128 Views | Created by meow200188 - Tuesday, February 16, 2016 3:16 AM | Last reply by Magnus (MM8) - Tuesday, February 16, 2016 7:09 PM -
0 Votes
Focus TextBox from Keypress in Window, not using code behind and viewmodel
>In a WPF window, is there a way to focus a UIElement, e.g. a textbox, from a keybinding (a keypress) in pure XAML.Answered | 3 Replies | 1669 Views | Created by Jesper Findahl Nielsen - Wednesday, September 28, 2016 6:21 AM | Last reply by Magnus (MM8) - Thursday, September 29, 2016 9:10 PM -
0 Votes
Code Behind Binding
Hi, Well well, I actually had ActualWidth in the setbindings second parameter, but it kept complaining, but your code mod works great.Answered | 3 Replies | 2169 Views | Created by garusher - Friday, October 26, 2012 4:09 PM | Last reply by garusher - Friday, October 26, 2012 5:07 PM -
0 Votes
Contracts aren't checked from WPF Window code behind class
That's actually a pretty good default behaviour as with a normal MVVM WPF app, you shouldn't need checking in code behind files anyhow.Answered | 2 Replies | 3922 Views | Created by Bernhard Koenig - Tuesday, September 20, 2011 12:43 PM | Last reply by Bernhard Koenig - Wednesday, September 28, 2011 7:59 PM -
0 Votes
How to Bind from Code behind?
I want the same way as I was explained.code behind means from C# code, Not Xaml Thanks If you find any Question/Discussion/Answers helpful, ...Answered | 4 Replies | 6419 Views | Created by salam.p.v - Wednesday, June 12, 2013 6:12 AM | Last reply by salam.p.v - Thursday, June 13, 2013 4:32 AM -
0 Votes
How to raise PreviewMouseDoubleClick event from code-behind?
thanks LloydPrimary platform is Windows 7 Ultimate 64 bit along with VS 2012/Sql2k8 for WPF/SilverLight projects.Answered | 2 Replies | 836 Views | Created by Enric Vives - Sunday, March 2, 2014 4:59 PM | Last reply by Enric Vives - Sunday, March 2, 2014 7:38 PM -
6 Votes
Change a datagrid's header text in WPF on C# runtime code
Changing the header text of a column in a WPF DataGrid should be pretty similar to your Windows Forms code.Answered | 5 Replies | 17824 Views | Created by Archvile.x86 - Saturday, September 26, 2015 10:56 AM | Last reply by Andy ONeill - Sunday, September 27, 2015 2:33 PM -
6 Votes
Command from code behind
OTOH, using screen properties works fine.Answered | 14 Replies | 3625 Views | Created by SaphuA2 - Saturday, November 5, 2011 3:11 PM | Last reply by Yann Duran - Tuesday, November 29, 2011 2:39 AM -
0 Votes
Createing a aspx page with inline code or code behind
Hi Rob, Yes, the approach is same for creating the custom page in SharePoint 2010 and SharePoint 2013, below are the example for SP 2013 with steps.Answered | 3 Replies | 832 Views | Created by robMerritt - Monday, January 11, 2016 3:37 PM | Last reply by KRISHANA KUMAR - Monday, January 11, 2016 10:14 PM -
4 Votes
how to rotate text under x axis in wpf toolkit code behind?
I found few xaml codes for this but my problem is that i must do it all in code behind becouse charts are created dinamycally.Answered | 8 Replies | 6866 Views | Created by Sejn - Tuesday, December 10, 2013 10:47 AM | Last reply by IssueKiller - Friday, June 13, 2014 1:24 AM -
0 Votes
create wizard using WPF
Robert, I downloaded your Roblog.PresentationLayer code.Answered | 5 Replies | 10193 Views | Created by अमोल सोनवणे - Monday, June 16, 2008 6:56 AM | Last reply by s_wade_t - Thursday, March 10, 2011 10:35 PM -
1 Votes
Creating UserControl in XAML from ResourceKey created in code-behind
You can just substitute your controls created in the code behind.Answered | 10 Replies | 4248 Views | Created by mariocatch2 - Thursday, June 26, 2008 1:41 PM | Last reply by WineNCheese - Friday, June 27, 2008 10:59 PM -
1 Votes
WPF Resource Dictionary with code behind file can’t be found by using a separated assembly
blog.magnusmontin.net/2013/03/16/how-to-create-a-custom-window-in-wpf/ ...Answered | 7 Replies | 3712 Views | Created by ilCosmico - Monday, March 30, 2015 9:25 AM | Last reply by Akshay_Warkhade - Sunday, July 15, 2018 12:25 PM -
2 Votes
Using ViewModel Properties in the Code-Behind
You can create Dependency Property in your control and init binding in codebehind.Answered | 8 Replies | 25060 Views | Created by Adel K - Friday, July 29, 2011 10:18 PM | Last reply by Andrey Danilchenko - Saturday, July 30, 2011 8:31 PM -
2 Votes
Is it possible create a user control with MVVM pattern and with no code behind?
>If it is better don't use code behind, how should I create my control and use it in my main application?Answered | 2 Replies | 3868 Views | Created by ComptonAlvaro - Friday, May 6, 2016 6:58 PM | Last reply by Magnus (MM8) - Saturday, May 7, 2016 10:17 AM -
1 Votes
datagrid assign cell value in code behind
****DEATH TO CODE BEHIND****** But seriously I suspect that the troubles you are having is that you are working against the WPF model.Answered | 13 Replies | 13521 Views | Created by Krixo - Tuesday, March 22, 2011 12:40 PM | Last reply by Charles Horan - Thursday, April 14, 2011 10:59 AM - Items 1 to 20 of 3914136 Next ›
No announcements