Markup in caption of property grid |
Post Reply |
Author | |
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Posted: 29 January 2009 at 2:15am |
Hello,
Yes, its true :( propertygrid doesn't support markup interaction. only visual appearance.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Kjetil
Newbie Joined: 13 February 2007 Location: Norway Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Hi,
I would like to add a check box in the caption part of the property grid control. I added it with the use of XAML:
CXTPMarkupContext* pMC = m_pGrid->GetPropertyGrid()->GetMarkupContext(); if (pMC) {
// using XAML do draw check box for item CString sXAML = "<StackPanel>" "<CheckBox Margin='2' Cursor='Hand' IsChecked='True' Padding='2'>" + m_strCaption + "</CheckBox>" "</StackPanel>"; m_pMarkupCaption = pMC->Parse(sXAML); } The check box appears, but it is dead. No reaction when I click it. |
|
Using Xtreme Tookit Pro v 13.2.1
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |