| Visual Basic (Declaration) | |
|---|---|
Public Property PreferredHorizontalPosition As PreferredHorizontalPosition | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As WebCallOut Dim value As PreferredHorizontalPosition instance.PreferredHorizontalPosition = value value = instance.PreferredHorizontalPosition | |
| C# | |
|---|---|
public PreferredHorizontalPosition PreferredHorizontalPosition {get; set;} | |
Preferred position means in which position you want the WebCallOut to be shown related to control specified in TargetControlId. There are 2 properties that refer to preferred position, PreferredVerticalPosition and PreferredHorizontalPosition. The default value for PreferredVerticalPosition is Top and PreferredHorizontalPosition is Left. For instance, if the PreferredVerticalPosition is set to Bottom and PreferredHorizontalPositon is set to Right then WebCallOut will be shown at the BottomRight of the control specified in TargetControlId.
These properties will be applied if PointingPosition is set to AutoDetect.
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