LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)
LEAD Technologies, Inc

IsVisible Property (AnnObject)

Example 





Gets or sets a value indicating whether the object is visible. This is a dependency property. .NET support Silverlight support
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 bool IsVisible {get; set;}
 get_IsVisible();
set_IsVisible(value);
public:
property bool IsVisible {
   bool get();
   void set (    bool value);
}

Property Value

true if the object is visible, otherwise; false.
Example
Copy CodeCopy Code  
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
public void AnnObject_Visible(AnnContainer container)
{
   foreach (AnnObject obj in container.Children)
   {
      if (!obj.IsVisible)
         obj.IsVisible = true;
   }
}
public void AnnObject_Visible(AnnContainer container)
{
   foreach (AnnObject obj in container.Children)
   {
      if (!obj.IsVisible)
         obj.IsVisible = true;
   }
}
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: 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

Reference

AnnObject Class
AnnObject Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.