Welcome to the Xceed Community | Help
Community Search  
More Search Options

How to create a grip for resizing when using the chromeless window

Sort Posts: Previous Next
  •  08-23-2012, 3:55 PM Post no. 32603

    How to create a grip for resizing when using the chromeless window

    Hello,

    I have created the chromeless window and it works fine.  I added "ResizeMode="CanResizeWithGrip", the window resize, but I can not see the grip that you typically see at the bottom right of a window. 

    can you tell me how I can implment that using the chromeless window, I looked at the sample provided but it does not have the "Grip".

    Hoping you can provide some information to help out.

     

  •  08-27-2012, 10:06 AM Post no. 32610 in reply to 32603

    Re: How to create a grip for resizing when using the chromeless window

    Hi Jay,

    If you used the ChromelessWindow sample as inspiration to create your application, you will need to add the "ResizeGrip" control inside the ControlTemplate of your window.

    For example:

       <ControlTemplate x:Key="ChromelessWindowTemplate"
                        TargetType="{x:Type Window}">
          <AdornerDecorator>
             <Grid>
                <ContentPresenter  Margin="0,0,0,0" />
                <ResizeGrip HorizontalAlignment="Right"
                            VerticalAlignment="Bottom"
                            IsTabStop="False" />

                [...]
             </Grid>
          </AdornerDecorator>
       </ControlTemplate>

     


    ** Quick Tip: Clients with an active support subscription should be sending their questions by email if they wish to benefit from the faster response time. Thanks!


    Diane Lafontaine
    Technical Support
    Xceed Software Inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.