New to Telerik UI for WinForms? Download free 30-day trial

How to Wrap Text in the PageView Page Tabs In StripView Mode


Product Version Product Author
2023.3.1010 RadPageView for WinForms Dinko Krastev


In this particular example, we will demonstrate how to wrap the text in the RadPageView page title tab in StripView mode.

WinForms PageView WrapText Animation

public Form1()
    this.radPageView1.ItemSizeMode = PageViewItemSizeMode.EqualSize;
    RadPageViewStripElement element = radPageView1.ViewElement as RadPageViewStripElement;

    foreach (var item in element.Items)
        item.MaxSize = new Size(100, 0);
        item.MinSize = new Size(0, 80);
        item.TextWrap = true;

Public Sub New()
    Me.radPageView1.ItemSizeMode = PageViewItemSizeMode.EqualSize
    Dim element As RadPageViewStripElement = TryCast(radPageView1.ViewElement, RadPageViewStripElement)

    For Each item In element.Items
        item.MaxSize = New Size(100, 0)
        item.MinSize = New Size(0, 80)
        item.TextWrap = True
End Sub

In this article