Steps to reproduce: 1. Add a RadPageView to a form and add a page 2. Add some controls to the page. 3. Open the RadPageView smart tag and click Remove Page 4. Select from Visual Studio Edit->Undo and you will see that the page will be restored but the controls on it will not be restored properly. If one removes the page using the keyboard Delete key the undo functionality of VS works correctly.
Steps to reproduce: 1. Drag a page view to a form and add two pages to it. 2. Add a button on the first page. 3. Drag a button to the form and in its Click event handler add code to change the selected page of the page view to the second one. 4. Add an event handler for the Enter event of the button on the first page. Run the project and when you click the button to change the page you will see that the button on the first page gets the focus.
Show the focus cue of the selected tab in a StripView RadPageView.
FIX. RadPageView - setting the Font of the control or element in OutlookMode does not work The complex structure of the control does not allow applying a font to all inner elements in all views through a single line of code. Here is how to handle the different cases: 1. In Strip view mode set the Font property of the control (RadPageView1.Font) 2. In all other views set the Font property of the ViewElement (RadPageView1.ViewElement.Font). Note that font will be applied only to the items. To set the font of the header and the footer use the following properties: RadPageView1.ViewElement.Header.Font and RadPageView1.ViewElement.Footer.Font.
Add a Visible property to RadPageView Pages for all modes
Provide an easier way to change the size of the tabs panel of RadPageView in Backstage mode at design time.
- create RadPageView in ExplorerBar mode with just one page - subscribe to the PageExpanded/PageCollapsed events and print the value of the IsContentVisible property in each event handler. The result is that when the event is fired the property is not set.
IMPROVE. RadPageView - in ExplorerBar mode, add a method which will scroll the item into view and the item will be on the top on the control. Currently, the ScrollToItem method, scrolls to the item and whenever it finds it the scrolling is stopped. Alternatively, add a method which will ensure that the item and its content are is visible. Resolution: Add the ScrollToControl method. Please take a look at the following code snippet how to use it: RadPageViewExplorerBarElement view = radPageView1.ViewElement as RadPageViewExplorerBarElement; view.ScrollToControl(control);
The Image property of any RadPageViewPage cannot be set from the Visual Style Builder. The only way to set the image is through code.
1. Create a new project with RadPageView. 2. Add two buttons. 3. On first button click add 100 pages. 4. On second button click remove these pages by calling the Clear method of the Pages collection. 5. Run the project and press these buttons several times.
Additionally, using the EnsureItemVisible of the ViewElement in Form.Load or Form.Shown does not bring the item into view also. To reproduce: 1. Create a form with page view (size 250,250). 2. Add 10 pages and keep the last one selected 3. On Form.Load or Form.Shown set the selected page to the first page => the page is selected but the last tab is visible instead of the first one.
FIX. RadPageView in ExplorerBar mode- the page items are getting hidden when page with auto size content is expanded.
ADD. RadPageView - allow RadPageViewItems to accept other RadElements. Currently, they are not arranged.
1. Add RadPageView to a form 2. In the code behind, after InitializeComponent set the ViewMode to ExplorerBar 3. Subscribe to the ItemCreating event of the control 4. Create three RadPageViewPages and add them to the control 5. Run the application
1. Place a RadPageView in ExplorerBar view mode on a from. 2. Add page and place any RadControl in the page content panel. 3. Close (Collapse) the page. 4. Save and close the form. 5. Open the form and open(expand) the page and you will see that the control will be stretched more than when you saved the form.
There should be a method called BeginEdit of the item, which puts it in edit mode. Also, when the user pressed F2 the item should begin editing. The latter should be controlled via AllowEdit property.
Let's say that you have a RadForm with a RadPageView in it. This pageview has several pages in it. In one of the pages there are a RadGroupBox with a RadLabel in it and a RadLabel directly placed on the page. At design-time the groupbox and the labels have the backcolor of the page. At runtime, these controls get the color of the RadForm. However, the behavior should be one and the same.
ADD. RadPageView - create new strip items layout mode, allowing to arrange them in rows.
Currently it is not possible to scroll to the active page when expanding or selecting it in explorer view.
HandleCreated should fire for all pages in RadPageView