我正在尝试从使用其他电子邮件地址发送的电子邮件中获取发件人电子邮件地址.outlook中显示的发件人代表用户名[user.name@domain.com]为ditribution-lists@domain.com.该MAPI对象有一个SentOnBehalfOfName返回"用户名"但不返回电子邮件地址的方法.有谁知道如何收到user.name@domain.com字段?
我有Grid2 行:
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="150"/>
<RowDefinition />
<RowDefinition Height="Auto" x:Name="OtherContactsRow" />
</Grid.RowDefinitions>
Something here
</Grid>
Run Code Online (Sandbox Code Playgroud)
和 2Storyboard秒:
<Storyboard x:Key="MaximizedStoryboard">
<DoubleAnimation From="20" To="150" Duration="0:0:2"
Storyboard.TargetName="OtherContactsRow"
Storyboard.TargetProperty="Height" >
</DoubleAnimation>
</Storyboard>
<Storyboard x:Key="MinimizedStoryboard">
<DoubleAnimation From="150" To="20" Duration="0:0:2"
Storyboard.TargetName="OtherContactsRow"
Storyboard.TargetProperty="Height">
</DoubleAnimation>
</Storyboard>
Run Code Online (Sandbox Code Playgroud)
当我尝试修改名为的行的高度时,OtherContactsRow收到以下错误:
'System.Windows.Media.Animation.DoubleAnimation' animation object cannot be used to animate property 'Height' because it is of incompatible type 'System.Windows.GridLength'.
任何解决方案?