다음을 통해 공유


작업 항목 폼 샘플

업데이트: 2007년 11월

다음은 작업 항목 형식에 대한 폼 정의 예제입니다.

<FORM>
    <Layout>
        <Group>
            <Column PercentWidth="70">
                <Control Type="FieldControl" FieldName="System.Title" Label="Title" LabelPosition="Top" />
            </Column>
            <Column PercentWidth="30">
                <Control Type="FieldControl" FieldName="Microsoft.VSTS.Common.Discipline" Label="Discipline"
                    LabelPosition="Top" />
            </Column>
        </Group>
        <Group>
            <Column PercentWidth="70">
                <Group>
                    <Column PercentWidth="100">
                        <Group Label="Classification">
                            <Column PercentWidth="100">
                                <Control Type="TFStructureControl" FieldName="System.AreaPath" Label="Area" LabelPosition="Left" />
                                <Control Type="TFStructureControl" FieldName="System.IterationPath" Label="Iteration" LabelPosition="Left" />
                            </Column>
                        </Group>
                    </Column>
                </Group>
            </Column>
            <Column PercentWidth="30">
                <Group Label="Status">
                    <Column PercentWidth="100">
                        <Control Type="FieldControl" FieldName="System.AssignedTo" Label="Assigned To" LabelPosition="Left" />
                        <Control Type="FieldControl" FieldName="System.State" Label="State" LabelPosition="Left" />
                        <Control Type="FieldControl" FieldName="System.Reason" Label="Reason" LabelPosition="Left" />
                        <Control Type="FieldControl" FieldName="Microsoft.VSTS.Common.Rank" Label="Rank" LabelPosition="Left" />
                    </Column>
                </Group>
            </Column>
        </Group>
        <TabGroup>
            <Tab Label="Summary">
                <Control Type="FieldControl" FieldName="Microsoft.VSTS.Common.ShortDescription" Label="Summary"
                    LabelPosition="Top" />
                <Control Type="WorkItemLogControl" FieldName="System.History" Label="Detailed Description and History"
                    LabelPosition="Top" Dock="Fill" />
            </Tab>
            <Tab Label="Links">
                <Control Type="LinksControl" />
            </Tab>
            <Tab Label="File Attachments">
                <Control Type="AttachmentsControl" />
            </Tab>
            <Tab Label="Details">
                <Group>
                    <Column PercentWidth="50">
                        <Group>
                            <Column PercentWidth="100">
                                <Control Type="FieldControl" FieldName="Microsoft.VSTS.Common.Issue" Label="Issue" LabelPosition="Left" />
                                <Control Type="FieldControl" FieldName="Microsoft.VSTS.Common.ExitCriteria" Label="Exit Criteria"
                                    LabelPosition="Left" />
                                <Control Type="FieldControl" FieldName="Microsoft.VSTS.Build.IntegrationBuild" Label="Integration Build"
                                    LabelPosition="Left" />
                            </Column>
                        </Group>
                    </Column>
                    <Column PercentWidth="50">
                        <Group Label="Schedule">
                            <Column PercentWidth="100">
                                <Control Type="FieldControl" FieldName="Microsoft.VSTS.Scheduling.RemainingWork" Label="Remaining Work (hours)"
                                    LabelPosition="Left" />
                                <Control Type="FieldControl" FieldName="Microsoft.VSTS.Scheduling.CompletedWork" Label="Completed Work (hours)"
                                    LabelPosition="Left" />
                            </Column>
                        </Group>
                    </Column>
                </Group>
            </Tab>
        </TabGroup>
    </Layout>
</FORM>

참고 항목

개념

작업 항목 폼 컨트롤

기타 리소스

Team Foundation의 작업 항목 형식 사용자 지정