- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Looks like ArcGIS for Windows Mobile Attribute window doesn't like long texts. Anything that exceeds the length of the display window gets chopped off instead of wrapping the text. Attaching screenshots for reference. Refer to the description field in the screenshot.
知道如何解决这个问题吗?
I am using ArcGIS for Windows Mobile v10.2.1, ArcGIS Server 10.2.2 for Mobile data service.
Solved!Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I 'snoop'ed the application to check what was causing this, looks like the textwrapping property of text block is set to nowrap instead of wrap. (Not sure Why??) Is there a way this can be fixed, considering that the product is in Mature support not sure if ESRI would help here.
Attaching snapshots.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found a workaround, was able to set the horizontal scrollbar to auto on feature attribute control.
ESRI.ArcGIS.Mobile.Client.Controls.ViewFeatureAttributesControl.ControlCreatingFeatureAttributes+=newEventHandler<ViewFeatureAttributesControlEventArgs>(ViewFeatureAttributesControl_ControlCreatingFeatureAttributes);voidViewFeatureAttributesControl_ControlCreatingFeatureAttributes(objectsender,ViewFeatureAttributesControlEventArgs e){((System.Windows.Controls.ScrollViewer)(((System.Windows.Controls.ContentControl)(e.Control)).Content)).HorizontalScrollBarVisibility=ScrollBarVisibility.Auto;}