ESRI.ArcGIS.ADF.Tasks
DefaultValue Property
See Also 
ESRI.ArcGIS.ADF.Tasks Namespace > Generic ItemSettings Class : DefaultValue Property




Default value for the control.

Syntax

Visual Basic (Declaration) 
<NotifyParentPropertyAttribute(True)>
<ResDescriptionAttribute("Initial value for the control.")>
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# 
[NotifyParentPropertyAttribute(true)]
[ResDescriptionAttribute("Initial value for the control.")]
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.

See Also

© 2010 All Rights Reserved.