Hello.
How can I change the pin state (pinned/unpinned) of some page of RadPageView from code? RadPageView.ViewMode is set to Strip.
Can this be done, when the RadPageView.ViewElement.ShowItemPinButton = false ?
Thank you!
2 Answers, 1 is accepted
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 03 Apr 2018, 02:02 PM
Hello, Vitaliy,
In order to pin a page programmatically it is not necessary to set the RadPageViewStripElement.ShowItemPinButton property to false. You can achieve it by using the following code snippet:
this.radPageViewPage2.Item.IsPinned = true;
I hope this information helps. If you have any additional questions, please let me know.