2009-06-16 5 views
0

미리 만들어진 Silverlight (2.0/3.0) 모양을 다운로드 할 장소를 아는 사람이 있습니까? http://silverlight.net/learn/videocat.aspx?cat=2#HDI2ControlsSilverlight (2.0/3.0) 모양 다운로드

사이트의 silverzine.com도 좋은 XAML의 노하우를 가지고 : 어쩌면이 자습서가 도움이 될 것이다 - 당신이 XAML에 대한 느낌을 얻을 필요가 같이

+0

도형의 의미는 무엇입니까? 벡터 기반 "클립 아트"또는 삼각형과 같은 사전 정의 된 경로 데이터를 찾고 있습니까? –

+0

잘 모르지만, 주로 컨테이너를 제어하십시오. 글 머리 기호 목록이나 다른 컨트롤을 포함 할 수있는 둥근 모서리와 그라디언트 음영을 사용하는 rect와 같은 것입니다. 누군가가 갤러리 또는 예제 카탈로그를 만들었을지 궁금합니다. – longday

답변

1

소리가 난다. 당신이 둥근 모서리와 AA 사각형과 글 머리 기호 목록처럼에 댓글을 구체적인 예는 다음과 같이 구성 할 수있다 :

<Border CornerRadius="20" BorderThickness="4" Width="400" Height="300" BorderBrush="Black"> 
    <Border.Background> 
     <LinearGradientBrush StartPoint="0,0" EndPoint="1,1"> 
     <GradientStop Color="Black" Offset="0.0" /> 
     <GradientStop Color="White" Offset="1.0" /> 
     </LinearGradientBrush> 
    </Border.Background> 

    <StackPanel Margin="10" Orientation="Vertical"> 
     <ListBox Height="200"> 

     <ListBox.Items> 
      <StackPanel Orientation="Horizontal"> 
       <Ellipse Width="10" Height="10" Stroke="Black" StrokeThickness="15" Fill="Black"/> 
       <TextBlock Margin="10,4,0,0" Text="Item 1"/> 
      </StackPanel> 
      <StackPanel Orientation="Horizontal"> 
       <Ellipse Width="10" Height="10" Stroke="Black" StrokeThickness="15" Fill="Black"/> 
       <TextBlock Margin="10,4,0,0" Text="Item 2"/> 
      </StackPanel> 
      <StackPanel Orientation="Horizontal"> 
       <Ellipse Width="10" Height="10" Stroke="Black" StrokeThickness="15" Fill="Black"/> 
       <TextBlock Margin="10,4,0,0" Text="Item 3"/> 
      </StackPanel> 
     </ListBox.Items> 
     </ListBox> 
     <Button Margin="10" Content="Click Me!"/> 
    </StackPanel> 
    </Border> 

이 질문에 대답하기 위해, 나는 사례가있는 사이트를 알고하지 않는 한 당신 네가 찾고 있다고 말했다. 좋은 전략은 검색 범위를 좁히고 한 번에 한 가지를 해결하는 것입니다. 국경으로 시작한 다음 그라디언트 등을 둘러보십시오. 행운을 빌어 요!