3

ListViews などでデータソースを使用すると、Windows 8 の読み込みホイールが表示されます。これで問題ありませんが、選択したコンテナーでこのローディング ホイールを手動で開始および停止したいと考えています。ローディングドットの使い方も知りたいです。どうすればこれを達成できますか?

Windows 8 Metro ローディング ホイール

4

2 に答える 2

4

Jevar の提案のおかげで、プログレス コントロールを追加するためのクイックスタートガイドを見つけることができました。私が望んでいたのは、実際には ProgressRing であり、より具体的には不確定な進行状況リングでした。HTML/JS で行う方法は次のとおりです。

HTML :

<label class="progressRingText">
    <progress class="win-ring withText"></progress>Processing</label>

CSS

progress.withText
{
    color: inherit; /* Uses the same text color as the page */
    vertical-align: text-bottom; /* Makes the bottom of the control align with the bottom of its label */
}

/* Text style for a label for the progress ring */
.progressRingText
{
    font-family: "Segoe UI";
}

/* Text style for a label for a default size progress ring */
.progressRingText
{
    font-size: 11pt;
    line-height: 15pt;
}

/* The margin to separate the ring and its label */
.progressRingText progress
{
    margin-right: 5px;
}
于 2012-07-12T13:53:44.283 に答える
-1

に同じ幅と高さを使用します

進捗

例えば

<progress style="width:50px;height:50px;">

要素を使用すると、その効果が得られます。

于 2012-07-17T15:23:16.167 に答える