Accordion for WinForms | ComponentOne
C1.Win.Accordion.Styles Namespace / AccordionPageStyle Class / Corners Property
Example

In This Topic
    Corners Property (AccordionPageStyle)
    In This Topic
    Gets or sets the radius of the C1.Win.Accordion.C1Accordion pages corners.
    Syntax
    'Declaration
     
    
    Public Property Corners As Integer
    public int Corners {get; set;}
    Remarks

    It affects to all corners of C1.Win.Accordion.C1AccordionPage headers when C1.Win.Accordion.C1AccordionPage is collapsed. It affects to outer corners of C1.Win.Accordion.C1AccordionPage headers and expanded page area when C1.Win.Accordion.C1AccordionPage is expanded.

    It is themeable property, use C1Accordion\Pages\Corners node to customize it with c1theme.

    Example
    Set 4-px corner radius for pares in runtime.
    C1Accordion c1Accordion = new C1Accordion();
    c1Accordion.Styles.Pages.Corners = 4;
    See Also