LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

IsVisible Property (AnnObject)

Show in webframe
Example 





Gets or sets a value indicating whether the object is visible. This is a dependency property.
Syntax
public bool IsVisible {get; set;}
'Declaration
 
Public Property IsVisible As Boolean
'Usage
 
Dim instance As AnnObject
Dim value As Boolean
 
instance.IsVisible = value
 
value = instance.IsVisible

            

            
public:
property bool IsVisible {
   bool get();
   void set (    bool value);
}

Property Value

true if the object is visible, otherwise; false.
Example
Copy Code  
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.Demos;
using Leadtools.Help;

public void AnnObject_Visible(AnnContainer container)
{
   foreach (AnnObject obj in container.Children)
   {
      if (!obj.IsVisible)
         obj.IsVisible = true;
   }
}
using Leadtools.Windows.Controls;
using Leadtools.Windows.Annotations;
using Leadtools.Examples;

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

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.