Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NItemsControl Class / EnableBeforePaintEvent Property


In This Topic
    EnableBeforePaintEvent Property
    In This Topic
    Determines whether the BeforePaint event will be fired. This is false by default since firing an event before paint operation may slow down performance.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(False)>
    <System.ComponentModel.DescriptionAttribute("Determines whether the BeforePaint event will be fired. This is false by default since firing an event before paint operation may slow down performance.")>
    Public Property EnableBeforePaintEvent As System.Boolean
    'Usage
     
    
    Dim instance As NItemsControl
    Dim value As System.Boolean
     
    instance.EnableBeforePaintEvent = value
     
    value = instance.EnableBeforePaintEvent
    [System.ComponentModel.DefaultValue(false)]
    [System.ComponentModel.Description("Determines whether the BeforePaint event will be fired. This is false by default since firing an event before paint operation may slow down performance.")]
    public System.bool EnableBeforePaintEvent {get; set;}
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also