data statement模板
-.ListBox.ltemTemplate>
        <DataTemplate DataType='TwoLeveITreeNodeViewModel">
    c— Grid Q部分.划"数据以何种样子展现出来一>
            <Grid>
              <Grid.Background>
                <lmageBrush A[ignmentX="Left" AlignmentY='To p" TlleMode='Tcle"
Jiewpo rtU nits="Absolute" Viewport="0,0,229, 42 '
mageSource="/FounderAMP;component/lmages/Police/SearchResult_bg.png'7>
              </Grid.Background>
                <Grid.ColumnDefinitions>
                  <Co[umnDefinition Width='""/>
    <r:nh imnLlpfin计inn WHth="ll "/>
                </GridColumnDefcnitions>
              <Re ctangle  Name="selectedBackg round"  F111="#3d/cffl  HorizontaIAlignment="Stretch"
VerticaIAlignment="Stretch" GridColumn="0" Grid.ColumnSpan="2" Vlsibility="Collapsed"/>
                  <TextBlock Name="headerLabel" Text="{Binding Path=HeaderText}" GridColumn="0"
TextTrimming='WordEllipsis" TooITcp="{Binding Path=HeaderText}"  HorizontaIAlignment="Stretch"
TextAlignment="Left" VerticaIAlignment="CenteC Margin="8,0,0,0" Width="200" FontFamily="MicrosofL
YaHei' ="13" 1>
                  <TextBlock Name="footerLabel" TooITip="{Binding Path=FooterText}"
TextTri mming='Wo rdEllipsis" Text="{Binding  Path=FooterText}" Grid.Column="0'
Horizo ntaIAlignment='Right"  Ve rticaIAlignment="Cente r"  FontFamily="Microsoft Ya Hei"  FontSize="l 3"
FontWeight="Bold' Margin="O,Or6,0" 1>
              <Image Source='7FounderAMP;component/lmages/Police/Downward _Triangle.png"
Grid.Co[umn="1" Cursor"Hand" Visibility="{Binding Path=ExpandingVisibdity}"
Name="ExpandOrgNodelmage" MouseLeftButtonDown="ExpandOrgNodelmage_MouseLeftButtonDown"
Tag="{Binding}'7>
              </Grid>
          <--eDataTemplatej~rlclkN~~# caDejtemi~JJrllka~~) -->
            <DataTempIate.Triggers>
              <Trigger Property="IsMouseOver" Value='True'><-- Et3+j~DataTemplate ~h
ListBox.ltemTemp[ate~S/e9, FfiLA~a~~+;~ultem"_LW, "f9"i~~ia2i~ci
                <Sette r Tara etN ame="selected Backa ro und"  Prooertv='Msibilitv" Value=' Visible"/>
      _r ' -"'r'-" ' ' Ud-' -
            <Trigger Property="IsMouseOver' Value="True"><- E:tlfj~DataTemplate ~jj
ListBox.ltemTemplate~3-ZWJ, FifIX~~~L~g:SgZtltemn_Lllt, ~  '~gra~TitrC/
              <Setter TargetName="selected Background"  Property= Msibility' Value="Visible'7>
              <Setter TargetName="headerLabel" Property="Foreground" Value="White'7>
              <Setter TargetName="footerLabel" Property="Foreground" Value="White"/>
              <Setter TargetName="ExpandOrgNodelmage" Property="Source"
Value="/FounderAMP;component/lmages/Police/downwardTriangle_WhiteBackground.png'7>
            </Trigger>
        </DataTemplate.Triggers>
</DataTemplate>columnspan是什么意思

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。