16,022,255 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by cyberist (Top 15 by date)
cyberist
6-Feb-13 12:53pm
View
It means when null then return (this.teacher = new Teacher()). Does compiler know to wait till teacher gets initialized and then to return the instance?
cyberist
6-Feb-13 8:00am
View
Does that mean that the teacher will be created each time i call the getter?
cyberist
31-Jan-13 3:04am
View
The Columns are far away from Rows and Row want to insert the instance of Columns without to go find the Columns in Tree.
cyberist
31-Jan-13 2:42am
View
@Sergey I have updated my question. Please notice the VisialTree. You will see that rows dont know about headers but rows would like to get the instance of headers. Also please notice in my question that I dont want to use VisualTreeHelper which help you do the tree traversal. I dont want to run up the tree. I want to inject the instance but I dont know how.
cyberist
30-Jan-13 9:59am
View
@Sergey I cannot follow the same pattern because in WPF I would need to to find the UIElement and then to insert its instance. I dont want to look use VisualTreeHelper.GetParent or VisualTreeHelper.GetChild everytime I need an instance. So therefore I am asking here to provide me how to do It without. Please read my question again and you will realize that I would rather stay away from traveling up the tree.
cyberist
5-Dec-12 4:39am
View
Deleted
Thats for WinForms, I am more WPF guy. Its not the same :)
cyberist
5-Dec-12 4:22am
View
Thanks for that link but thats not what i need. I know how to use it. I dont know whats happening in code behind. How does ItemsSource of each TreeViewItem gets set / binded?
cyberist
13-Jun-12 1:33am
View
Deleted
Its not working yet. You helped me with a part solution. When i write the other part then i will mark it as solved!!!!! Routed events bubbled upwards too? I read your like and it kinda made me even more confused which is why i am asking you kindly to explain me better.
cyberist
12-Jun-12 14:36pm
View
Deleted
yea preview it work. i still dont understand the difference between preview and routed event? could somebody tell me more about that and when to use each of them??
cyberist
11-Jun-12 15:49pm
View
Deleted
Its not a dataGrid Control its a Grid Panel, simple Grid with columns
cyberist
11-Jun-12 15:47pm
View
Deleted
This is code.
Grid
Column With=Auto
Column With Auto
Column With *
Button Grid.Column=0
Textblock Grid.Colum=1
Grid
cyberist
11-Jun-12 15:43pm
View
Deleted
Ok this is code.
<grid>
<grid.columndefinitions>
<columndefinition width="Auto">
<columndefinition width="Auto">
<columndefinition width="*">
<Button Grid.Column="0" Content="Test1"/>
<textblock grid.column="1" content="Test2">
cyberist
22-Apr-12 11:37am
View
Deleted
Okey. Thanks alot.
cyberist
22-Apr-12 9:42am
View
Deleted
Thanks man, this solution looks pretty good but.. is it possible to give the textbox focus when enabling so that i dont have to click once to enable it and click again to enter/focus it
cyberist
22-Apr-12 6:17am
View
Deleted
I have to admit the code looks fine just the problem aint solved yet. Your code allows me to check a radiobutton and enable its textbox but it doest work the other way around. I should be able to click on a disabled textbox and its radiobutton would check atomatically.
Show More