wpftoolkit icon indicating copy to clipboard operation
wpftoolkit copied to clipboard

Resize the already opened floated LayoutAnchorable (WPF)

Open vikaschamp opened this issue 3 years ago • 0 comments

Hi All ,

I am trying to resize the floated LayoutAnchorable using keyboard key event . I am trying to change the FloatingHeight , FloatingWidth but it is not updating (resizing ) on runtime . When i am calling float function then it get resize .

Can we resize without calling float function . Can anyone please suggest how to do it ? Code snippet : POBLayoutRef.FloatingHeight = POBLayoutRef.FloatingHeight + 20; POBLayoutRef.FloatingWidth = POBLayoutRef.FloatingWidth + 20; POBLayoutRef.FloatingTop = POBLayoutRef.FloatingTop; POBLayoutRef.FloatingLeft = POBLayoutRef.FloatingLeft; POBLayoutRef.Float(); where POBLayoutRef is a layoutAnchorable refrence .

vikaschamp avatar May 11 '22 11:05 vikaschamp