←Select platform

IsVisible Property

Summary

Gets or sets a value indicating whether the object is visible. This is a dependency property.

Syntax

C#
VB
C++
public bool IsVisible { get; set; } 
  
Public Property IsVisible As Boolean 
public: 
property bool IsVisible { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true if the object is visible, otherwise; false.

Example

C#
VB
Silverlight C#
Silverlight VB
using Leadtools.Windows.Controls; 
using Leadtools.Windows.Annotations; 
using Leadtools.Demos; 
using Leadtools.Help; 
 
public void AnnObject_Visible(AnnContainer container) 
{ 
   foreach (AnnObject obj in container.Children) 
   { 
      if (!obj.IsVisible) 
         obj.IsVisible = true; 
   } 
} 
Imports Leadtools.Windows.Controls 
Imports Leadtools.Windows.Annotations 
 
Public Sub AnnObject_Visible(ByVal container As AnnContainer) 
   For Each obj As AnnObject In container.Children 
      If Not obj.IsVisible Then 
         obj.IsVisible = True 
      End If 
   Next obj 
End Sub 
using Leadtools.Windows.Controls; 
using Leadtools.Windows.Annotations; 
using Leadtools.Examples; 
//using Leadtools.Help; 
 
public void AnnObject_Visible(AnnContainer container) 
{ 
   foreach (AnnObject obj in container.Children) 
   { 
      if (!obj.IsVisible) 
         obj.IsVisible = true; 
   } 
} 
Imports Leadtools.Windows.Controls 
Imports Leadtools.Windows.Annotations 
 
Public Sub AnnObject_Visible(ByVal container As AnnContainer) 
   For Each obj As AnnObject In container.Children 
      If (Not obj.IsVisible) Then 
         obj.IsVisible = True 
      End If 
   Next obj 
End Sub 

Requirements

Target Platforms

See Also

Reference

AnnObject Class

AnnObject Members

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Annotations Assembly