ContainerVisual.Children Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the child collection of the ContainerVisual.
public:
property System::Windows::Media::VisualCollection ^ Children { System::Windows::Media::VisualCollection ^ get(); };
public System.Windows.Media.VisualCollection Children { get; }
member this.Children : System.Windows.Media.VisualCollection
Public ReadOnly Property Children As VisualCollection
Property Value
A VisualCollection that contains the children of the ContainerVisual.
Examples
The following example shows how to retrieve the VisualCollection from a ContainerVisual object.
if (containerVisual.Children.Count > 0)
{
VisualCollection collection = containerVisual.Children;
}
If containerVisual.Children.Count > 0 Then
Dim collection As VisualCollection = containerVisual.Children
End If
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.