WEB开发网
开发学院操作系统Windows 7 基于Windows 7中的 Ribbon开发技术应用 阅读

基于Windows 7中的 Ribbon开发技术应用

 2010-04-21 00:00:00 来源:WEB开发网   
核心提示: 而且,这里是如何创建一个标签与一些组: <Ribbon.Tabs>.<TabCommandName="Tab1"><Tab.ScalingPolicy><ScalingPolicy><ScalingPolicy.Ideal

而且,这里是如何创建一个标签与一些组:

<Ribbon.Tabs>             .    <Tab CommandName="Tab1" > 
      <Tab.ScalingPolicy> 
        <ScalingPolicy> 
          <ScalingPolicy.IdealSizes> 
            <Scale Group="g1" Size="Large" /> 
            <Scale Group="g2" Size="Large" /> 
            <Scale Group="g3" Size="Large" /> 
            <Scale Group="g4" Size="Large" /> 
          </ScalingPolicy.IdealSizes> 
        </ScalingPolicy> 
      </Tab.ScalingPolicy> 
      <Group CommandName="g1" SizeDefinition="OneButton"> 
        <Button CommandName="cmdNew" /> 
      </Group> 
      <Group CommandName="g2" SizeDefinition="ThreeButtons"> 
        <Button CommandName="cmdNew" /> 
        <Button CommandName="cmdOpen" /> 
        <Button CommandName="cmdSave" /> 
        <DialogLauncher CommandName="cmdSave" /> 
      </Group> 
     <Group CommandName="g3" SizeDefinition="OneFontControl"> 
        <FontControl CommandName = "Font1"  FontType = "RichFont" /> 
      </Group> 
      <Group CommandName="g4"> 
        <DropDownColorPicker CommandName="cpick1" ChipSize = "Large" /> 
      </Group> 
</Tab>

上一页  2 3 4 5 6 7 8  下一页

Tags:基于 Windows Ribbon

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接