Ribbon for WinForms | ComponentOne
C1.Framework Namespace / CheckButtonElement Class / SetDirty Method / SetDirty(Boolean,Boolean) Method
Whether the element needs to be laid out.
Whether ContentElements (e.g. elements without children, such as TextElement, ImageElement) also need to be laid out.

In This Topic
    SetDirty(Boolean,Boolean) Method
    In This Topic
    Marks this element as dirty, forcing all parent and child elements to be laid out.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetDirty( _
       ByVal dirty As Boolean, _
       ByVal layoutOnly As Boolean _
    ) 
    public void SetDirty( 
       bool dirty,
       bool layoutOnly
    )

    Parameters

    dirty
    Whether the element needs to be laid out.
    layoutOnly
    Whether ContentElements (e.g. elements without children, such as TextElement, ImageElement) also need to be laid out.
    See Also