User editable RadPane Header

6 posts, 1 answers
  1. Paul
    Paul avatar
    42 posts
    Member since:
    Jan 2012

    Posted 02 Mar 2012 Link to this post

    I have been unsuccessful in making the Header editable.  Ideally I am looking to allow the user to edit the Header text when the double click on it.  I have followed the example you have to do this with the RadTab but this didn't provide enough assistance on the RadPane control.  I also have implemented the ControlTemplate necessary to move the close button inside the Header.  Systematically I have been attempting to replace Content with a DataTemplate consisting of simply a TextBlox to identify the locations within the ControlTemplate I need to account for. 

    Would you please provide some guidance on how I can accomplish this objective?

    Thank you

    Paul
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 07 Mar 2012 Link to this post

    Hi Paul,

    The approach is the same as with the TabControl. Could you please send us the edited templates and styles, so that we can review them and track down the source of the problem. Ideally, sending us your project stripped, so that we can run it here locally will be very helpful for providing you with solution in a timely manner.

    Thank you in advance.

    Greetings,
    Konstantina
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Paul
    Paul avatar
    42 posts
    Member since:
    Jan 2012

    Posted 14 Mar 2012 Link to this post

    Konstatina, where can I send the .zip file being that I cannot post it here or rename it to an allowed file type?

    Thanks
    Paul
  5. Answer
    Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 15 Mar 2012 Link to this post

    Hello Paul,

    You need to open a support ticket and there you will be able to attach a file with a 25MB maximum size. So, if the project is getting bigger, you can delete the bin and obj folders in order to reduce its size.

    Please let us know if you need further assistance with that.

    Regards,
    Konstantina
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  6. Paul
    Paul avatar
    42 posts
    Member since:
    Jan 2012

    Posted 20 Mar 2012 Link to this post

    I submitted ticket 524831.

    Thanks
  7. Paul
    Paul avatar
    42 posts
    Member since:
    Jan 2012

    Posted 04 Apr 2012 Link to this post

    For those interested the code below was the basis for the overall solution.
    public void AddPane()
    {
    RadPane pane = new RadPane();
    QueueView view = new QueueView();
    pane.Content = view;
    PaneViewModel paneModel = new PaneViewModel(this);
    paneModel.Text = "New Text";
    pane.Header = paneModel;
    Panes.Add(pane);
    }


    <root:EditableContentControl Content="{Binding Text, Mode=TwoWay}" />


    <root:EditableContentControl Content="{Binding Text, Mode=TwoWay}" />
Back to Top
UI for WPF is Visual Studio 2017 Ready