Share via


DesignerView.VisualChildrenCount Property

Gets the count of visual children on this object.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Protected Overrides ReadOnly Property VisualChildrenCount As Integer
    Get
protected override int VisualChildrenCount { get; }
protected:
virtual property int VisualChildrenCount {
    int get () override;
}
abstract VisualChildrenCount : int
override VisualChildrenCount : int
override function get VisualChildrenCount () : int

Property Value

Type: System.Int32
An integer representing the number of visual children on this object.

Remarks

By default, the VisualChildrenCount property returns 0 if Child is nulla null reference (Nothing in Visual Basic); otherwise, it return 3.

.NET Framework Security

See Also

Reference

DesignerView Class

Microsoft.Windows.Design.Interaction Namespace

AdornerPanel

Other Resources

Walkthrough: Creating a Design-time Adorner

Adorner Architecture