Northwoods.GoSilverlight 1.2.2 Assembly
NullBooleanConverter Class
Members  See Also  Send Feedback
Northwoods.GoXam Namespace : NullBooleanConverter Class

Convert a reference value to false if the value is null or to true otherwise. When Inverted is true the sense is reversed.

Syntax

Visual Basic (Declaration) 
Public Class NullBooleanConverter 
   Inherits Converter
   Implements IValueConverter 
C# 
public class NullBooleanConverter : Converter, IValueConverter  

Remarks

Typically you will create an instance of this as a resource. For example, one possible use of this converter:

            <go:NullBooleanConverter x:Key="theNullBooleanConverter" />
            
              <ComboBox IsEnabled="{Binding Path=SelectedNode, ElementName=myDiagram, Converter={StaticResource theNullBooleanConverter}}">
            
When a node is selected, the ComboBox is enabled.

Inheritance Hierarchy

System.Object
   Northwoods.GoXam.Converter
      Northwoods.GoXam.NullBooleanConverter

Requirements

See Also

© 2010 All Rights Reserved.