ESRI.ArcGIS.ADF.Tasks
DefaultValue Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.Tasks Namespace > ItemSettings<T> Class : DefaultValue Property




Default value for the control.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("Initial value for the control.")>
<NotifyParentPropertyAttribute(True)>
Public Property DefaultValue As T
Visual Basic (Usage)Copy Code
Dim instance As ItemSettings(Of T)
Dim value As T
 
instance.DefaultValue = value
 
value = instance.DefaultValue
C# 
[ResDescriptionAttribute("Initial value for the control.")]
[NotifyParentPropertyAttribute(true)]
public T DefaultValue {get; set;}

Remarks

This is the value for the print task item that will be used when creating the print page, unless changed by the user at runtime. If DisplayInDialog is false, then the DefaultValue will always be the one used for printing. For example, ItemSettings is used for the PrintTask TitleSettings property. If the DefaultValue is "Map", then this text will be displayed at the top of the print page unless DisplayInDialog is true and the user changes the title in the print task dialog.

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

© 2011 All Rights Reserved.