Intersoft WebGrid Documentation
TargetObject Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridFormatCondition Class : TargetObject Property






Specifies the target object - whether row or cell, that you want to format in WebGridFormatCondition.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<DefaultValueAttribute()>
<NotifyParentPropertyAttribute(True)>
Public Property TargetObject As TargetObjectType
Visual Basic (Usage)Copy Code
Dim instance As WebGridFormatCondition
Dim value As TargetObjectType
 
instance.TargetObject = value
 
value = instance.TargetObject
C# 
[DescriptionAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
public TargetObjectType TargetObject {get; set;}
Delphi 
public read-write property TargetObject: TargetObjectType; 
JScript 
DescriptionAttribute()
ISNet.Serialization.BinarySerializableAttribute()
DefaultValueAttribute()
NotifyParentPropertyAttribute()
public function get,set TargetObject : TargetObjectType
Managed Extensions for C++ 
[DescriptionAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
public: __property TargetObjectType get_TargetObject();
public: __property void set_TargetObject( 
   TargetObjectType value
);
C++/CLI 
[DescriptionAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
public:
property TargetObjectType TargetObject {
   TargetObjectType get();
   void set (    TargetObjectType value);
}

Remarks

TargetObject contains two values :

  • Row (default value). When Row is used, the FormatStyle will be applied to the entire row when  the  condition criteria matched.
  • Cell. When Cell is used, you need to specify the TargetColumnMember. In this mode, the  FormatStyle will only be applied to TargetColumnMember

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.