Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic "diagram properties" and "selected object properties" load (Read 1179 times)
kelum
Full Member
***
Offline


I Love MindFusion!

Posts: 100
Joined: Mar 25th, 2017
"diagram properties" and "selected object properties" load
May 17th, 2017 at 10:03am
Print Post  
I loaded following panels



using following commands

Code
Select All
                                <mfc:PropertyGrid x:Name="diagramPropertyGrid" SectionCornerRadius="0"  Header="Diagram Properties"  DescriptionVisibility="Collapsed"  Padding="0" Margin="4,10,10,0" SectionMargin="0,0,0,0" PropertyDisplayType="DeclaredOnly" ShowReadOnlyProperties="False"  Grid.Column="0" Grid.ColumnSpan="6" />

                                <mfc:PropertyGrid x:Name="wpfPropertyGrid" SectionCornerRadius="0"  Header="Selected Object Properties"   Grid.Row="1" Padding="0" Margin="4,10,10,6"   SectionMargin="0,0,0,0"   PropertyDisplayType="DeclaredOnly"  ShowReadOnlyProperties="False"  Grid.Column="0" Grid.ColumnSpan="6" />
 


here mfc is "xmlns:mfc="clr-namespace:MindFusion.UI.Wpf;assembly=MindFusion.Common.Wpf""

but here "diagram properties" not loading.
once I select object on canvas its not loading to "Selected Object Properties" panel

what code behind changes should I do to get these diagram properties and selected object properties


  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3154
Joined: Oct 19th, 2005
Re: "diagram properties" and "selected object properties" load
Reply #1 - May 17th, 2017 at 12:53pm
Print Post  
Set the propertyGrid.SelectedObject property.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint