﻿

    <UIControlSet Margin="7,6,7,6"
                  HorizontalAlignment="Stretch"
                  ModificationFlagTarget="{TemplateTag:BindSource}"
                  Orientation="Vertical"
                  Text="{TemplateTag:Label}">
        <UITextBox Margin="16,0,0,0"
                   MaximumSize="140,0"
                   MinimumSize="140,{TemplateTag:TextBoxHeight}"
                   Multiline="True"
                   Text="{Binding {TemplateTag:BindSource}, IssueCommand=true}"
                   OnlyUpdatingWithValidation="True"
                   ProhibitLineFeed="True"
                   AllowableByteCount="{TemplateTag:ArrayLength}"
                   AllowDrop="True">
            <UITextBox.Behaviors>
                <FileDragDropBehavior AllowAllExtensions="True" AllowMultiByteName="False"
                                      BasePath="{Binding UserAssetsBaseFolderPath}" MaxByteCount="{TemplateTag:ArrayLength}"
                                      DropResult="{Binding {TemplateTag:BindSource}, IssueCommand=true, Mode=OneWayToSource}" />
            </UITextBox.Behaviors>
        </UITextBox>

    </UIControlSet>