Click here to Skip to main content
15,918,485 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Can't Move Label with mouse in WPF Pin
Richard Deeming14-Nov-16 2:13
mveRichard Deeming14-Nov-16 2:13 
QuestionHow to achieve grouping and ungrouping usercontrol in wpf application programmatically Pin
Pankaj Deharia10-Nov-16 3:05
professionalPankaj Deharia10-Nov-16 3:05 
C#
I want to group , ungroup canvas user control in wpf application.Though this can be achieved with microsoft visual studio in built function Group and Ungroup which we get from Object and Timeline window.Through ungrouping we are removing unwanted canvas and making only one parent(canvas) to child controls.
Phis i need to achieve programmatically.Please suggest how can I achieve this through programmatically though I want to process my xaml file without doing this manual step and handle it through code behind.

Below mentioned is code snippet of xaml data which is not yet grouped and after that grouping.

Code before ungrouping :

<Canvas Name="_01" RenderTransform="1, 0, 0, 1, 130.919685, -4.32">
          <Canvas Name="_64" RenderTransform="-0.999991, 0.004316, -0.004316, -0.999991, 14.637921, 2145.991988">
            <Path Name="_64_G0__MrkrEnd" Visibility="Collapsed" RenderTransform="3.31258, -1.721798, -1.721798, -3.31258, 5.998991, 1066.51392" StrokeLineJoin="Round" Data="M -1 -1 L 0 0 L 1 -1 ">
            </Path>
          </Canvas>
 </Canvas>
     
 Code after Ungrouping and grouping into a canvas, which allow a single parent node to the child.

 <Canvas Name="_01" RenderTransform="1, 0, 0, 1, 130.919685, -4.32">
        	<Path x:Name="_64_G0__MrkrEnd" Visibility="Collapsed" StrokeLineJoin="Round" Data="M -1 -1 L 0 0 L 1 -1 " Canvas.Left="14.637" RenderTransformOrigin="0.5,0.5" Canvas.Top="2145.992"/>
        </Canvas>


AnswerRe: How to achieve grouping and ungrouping usercontrol in wpf application programmatically Pin
Gerry Schmitz10-Nov-16 7:01
mveGerry Schmitz10-Nov-16 7:01 
QuestionHow to solve the echo in a MVVM project with external data updates Pin
ronald6231-Oct-16 0:16
ronald6231-Oct-16 0:16 
AnswerRe: How to solve the echo in a MVVM project with external data updates Pin
Gerry Schmitz4-Nov-16 5:02
mveGerry Schmitz4-Nov-16 5:02 
GeneralRe: How to solve the echo in a MVVM project with external data updates Pin
ronald624-Nov-16 5:15
ronald624-Nov-16 5:15 
GeneralRe: How to solve the echo in a MVVM project with external data updates Pin
Gerry Schmitz4-Nov-16 5:46
mveGerry Schmitz4-Nov-16 5:46 
GeneralRe: How to solve the echo in a MVVM project with external data updates Pin
ronald627-Nov-16 3:38
ronald627-Nov-16 3:38 
GeneralRe: How to solve the echo in a MVVM project with external data updates Pin
Gerry Schmitz7-Nov-16 6:35
mveGerry Schmitz7-Nov-16 6:35 
GeneralRe: How to solve the echo in a MVVM project with external data updates Pin
Pete O'Hanlon7-Nov-16 10:44
mvePete O'Hanlon7-Nov-16 10:44 
GeneralRe: How to solve the echo in a MVVM project with external data updates Pin
Gerry Schmitz7-Nov-16 11:36
mveGerry Schmitz7-Nov-16 11:36 
GeneralRe: How to solve the echo in a MVVM project with external data updates Pin
ronald629-Nov-16 0:01
ronald629-Nov-16 0:01 
GeneralRe: How to solve the echo in a MVVM project with external data updates Pin
Gerry Schmitz10-Nov-16 12:11
mveGerry Schmitz10-Nov-16 12:11 
GeneralRe: How to solve the echo in a MVVM project with external data updates Pin
ronald6221-Nov-16 1:14
ronald6221-Nov-16 1:14 
QuestionPrinting an xps fixed document Pin
Stephen Holdorf5-Oct-16 8:04
Stephen Holdorf5-Oct-16 8:04 
AnswerRe: Printing an xps fixed document Pin
Stephen Holdorf5-Oct-16 9:56
Stephen Holdorf5-Oct-16 9:56 
QuestionCoverflow like animating grids or contentcontrol Pin
Jayme655-Oct-16 0:44
Jayme655-Oct-16 0:44 
SuggestionRe: Coverflow like animating grids or contentcontrol Pin
Richard MacCutchan5-Oct-16 2:24
mveRichard MacCutchan5-Oct-16 2:24 
GeneralRe: Coverflow like animating grids or contentcontrol Pin
Jayme655-Oct-16 3:05
Jayme655-Oct-16 3:05 
GeneralRe: Coverflow like animating grids or contentcontrol Pin
Richard MacCutchan5-Oct-16 3:05
mveRichard MacCutchan5-Oct-16 3:05 
QuestionApplication download error in XBAP application after deploying the application Pin
indian14319-Sep-16 7:41
indian14319-Sep-16 7:41 
AnswerRe: Application download error in XBAP application after deploying the application Pin
Richard Deeming19-Sep-16 8:20
mveRichard Deeming19-Sep-16 8:20 
GeneralRe: Application download error in XBAP application after deploying the application Pin
indian14319-Sep-16 10:37
indian14319-Sep-16 10:37 
GeneralRe: Application download error in XBAP application after deploying the application Pin
Richard Deeming19-Sep-16 10:43
mveRichard Deeming19-Sep-16 10:43 
GeneralRe: Application download error in XBAP application after deploying the application Pin
indian14320-Sep-16 10:02
indian14320-Sep-16 10:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.