|
이 문서는 기계로 번역한 것입니다. 원본 텍스트를 보려면 포인터를 문서의 문장 위로 올리십시오. 추가 정보
|
번역
원본
|
Brushes 클래스
네임스페이스: System.Windows.Media
어셈블리: PresentationCore(PresentationCore.dll)
XAML의 XMLNS: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
Brushes 형식에서는 다음과 같은 멤버를 노출합니다.
| 이름 | 설명 | |
|---|---|---|
![]() ![]() | AliceBlue | |
![]() ![]() | AntiqueWhite | |
![]() ![]() | Aqua | |
![]() ![]() | Aquamarine | |
![]() ![]() | Azure | |
![]() ![]() | Beige | |
![]() ![]() | Bisque | |
![]() ![]() | Black | |
![]() ![]() | BlanchedAlmond | |
![]() ![]() | Blue | |
![]() ![]() | BlueViolet | |
![]() ![]() | Brown | |
![]() ![]() | BurlyWood | |
![]() ![]() | CadetBlue | |
![]() ![]() | Chartreuse | |
![]() ![]() | Chocolate | |
![]() ![]() | Coral | |
![]() ![]() | CornflowerBlue | |
![]() ![]() | Cornsilk | |
![]() ![]() | Crimson | |
![]() ![]() | Cyan | |
![]() ![]() | DarkBlue | |
![]() ![]() | DarkCyan | |
![]() ![]() | DarkGoldenrod | |
![]() ![]() | DarkGray | |
![]() ![]() | DarkGreen | |
![]() ![]() | DarkKhaki | |
![]() ![]() | DarkMagenta | |
![]() ![]() | DarkOliveGreen | |
![]() ![]() | DarkOrange | |
![]() ![]() | DarkOrchid | |
![]() ![]() | DarkRed | |
![]() ![]() | DarkSalmon | |
![]() ![]() | DarkSeaGreen | |
![]() ![]() | DarkSlateBlue | |
![]() ![]() | DarkSlateGray | |
![]() ![]() | DarkTurquoise | |
![]() ![]() | DarkViolet | |
![]() ![]() | DeepPink | |
![]() ![]() | DeepSkyBlue | |
![]() ![]() | DimGray | |
![]() ![]() | DodgerBlue | |
![]() ![]() | Firebrick | |
![]() ![]() | FloralWhite | |
![]() ![]() | ForestGreen | |
![]() ![]() | Fuchsia | |
![]() ![]() | Gainsboro | |
![]() ![]() | GhostWhite | |
![]() ![]() | Gold | |
![]() ![]() | Goldenrod | |
![]() ![]() | Gray | |
![]() ![]() | Green | |
![]() ![]() | GreenYellow | |
![]() ![]() | Honeydew | |
![]() ![]() | HotPink | |
![]() ![]() | IndianRed | |
![]() ![]() | Indigo | |
![]() ![]() | Ivory | |
![]() ![]() | Khaki | |
![]() ![]() | Lavender | |
![]() ![]() | LavenderBlush | |
![]() ![]() | LawnGreen | |
![]() ![]() | LemonChiffon | |
![]() ![]() | LightBlue | |
![]() ![]() | LightCoral | |
![]() ![]() | LightCyan | |
![]() ![]() | LightGoldenrodYellow | |
![]() ![]() | LightGray | |
![]() ![]() | LightGreen | |
![]() ![]() | LightPink | |
![]() ![]() | LightSalmon | |
![]() ![]() | LightSeaGreen | |
![]() ![]() | LightSkyBlue | |
![]() ![]() | LightSlateGray | |
![]() ![]() | LightSteelBlue | |
![]() ![]() | LightYellow | |
![]() ![]() | Lime | |
![]() ![]() | LimeGreen | |
![]() ![]() | Linen | |
![]() ![]() | Magenta | |
![]() ![]() | Maroon | |
![]() ![]() | MediumAquamarine | |
![]() ![]() | MediumBlue | |
![]() ![]() | MediumOrchid | |
![]() ![]() | MediumPurple | |
![]() ![]() | MediumSeaGreen | |
![]() ![]() | MediumSlateBlue | |
![]() ![]() | MediumSpringGreen | |
![]() ![]() | MediumTurquoise | |
![]() ![]() | MediumVioletRed | |
![]() ![]() | MidnightBlue | |
![]() ![]() | MintCream | |
![]() ![]() | MistyRose | |
![]() ![]() | Moccasin | |
![]() ![]() | NavajoWhite | |
![]() ![]() | Navy | |
![]() ![]() | OldLace | |
![]() ![]() | Olive | |
![]() ![]() | OliveDrab | |
![]() ![]() | Orange | |
![]() ![]() | OrangeRed | |
![]() ![]() | Orchid | |
![]() ![]() | PaleGoldenrod | |
![]() ![]() | PaleGreen | |
![]() ![]() | PaleTurquoise | |
![]() ![]() | PaleVioletRed | |
![]() ![]() | PapayaWhip | |
![]() ![]() | PeachPuff | |
![]() ![]() | Peru | |
![]() ![]() | Pink | |
![]() ![]() | Plum | |
![]() ![]() | PowderBlue | |
![]() ![]() | Purple | |
![]() ![]() | Red | |
![]() ![]() | RosyBrown | |
![]() ![]() | RoyalBlue | |
![]() ![]() | SaddleBrown | |
![]() ![]() | Salmon | |
![]() ![]() | SandyBrown | |
![]() ![]() | SeaGreen | |
![]() ![]() | SeaShell | |
![]() ![]() | Sienna | |
![]() ![]() | Silver | |
![]() ![]() | SkyBlue | |
![]() ![]() | SlateBlue | |
![]() ![]() | SlateGray | |
![]() ![]() | Snow | |
![]() ![]() | SpringGreen | |
![]() ![]() | SteelBlue | |
![]() ![]() | Tan | |
![]() ![]() | Teal | |
![]() ![]() | Thistle | |
![]() ![]() | Tomato | |
![]() ![]() | Transparent | |
![]() ![]() | Turquoise | |
![]() ![]() | Violet | |
![]() ![]() | Wheat | |
![]() ![]() | White | |
![]() ![]() | WhiteSmoke | |
![]() ![]() | Yellow | |
![]() ![]() | YellowGreen |
| 이름 | 설명 | |
|---|---|---|
![]() | Equals(Object) | |
![]() | GetHashCode | |
![]() | GetType | |
![]() | ToString |

<Rectangle Width="50" Height="50" Fill="Blue" />
' Create a rectangle and paint it with ' a predefined brush. Dim myPredefinedBrushRectangle As New Rectangle() myPredefinedBrushRectangle.Width = 50 myPredefinedBrushRectangle.Height = 50 myPredefinedBrushRectangle.Fill = Brushes.Blue
// Create a rectangle and paint it with // a predefined brush. Rectangle myPredefinedBrushRectangle = new Rectangle(); myPredefinedBrushRectangle.Width = 50; myPredefinedBrushRectangle.Height = 50; myPredefinedBrushRectangle.Fill = Brushes.Blue;
<!-- Note that the first two characters "FF" of the 8-digit value is the alpha which controls the transparency of the color. Therefore, to make a completely transparent color (invisible), use "00" for those digits (e.g. #000000FF). --> <Rectangle Width="50" Height="50" Fill="#FF0000FF" />
<Rectangle Width="50" Height="50"> <Rectangle.Fill> <SolidColorBrush> <SolidColorBrush.Color> <!-- Describes the brush's color using RGB values. Each value has a range of 0-255. R is for red, G is for green, and B is for blue. A is for alpha which controls transparency of the color. Therefore, to make a completely transparent color (invisible), use a value of 0 for Alpha. --> <Color A="255" R="0" G="0" B="255" /> </SolidColorBrush.Color> </SolidColorBrush> </Rectangle.Fill> </Rectangle>
Dim myRgbRectangle As New Rectangle() myRgbRectangle.Width = 50 myRgbRectangle.Height = 50 Dim mySolidColorBrush As New SolidColorBrush() ' Describes the brush's color using RGB values. ' Each value has a range of 0-255. mySolidColorBrush.Color = Color.FromArgb(255, 0, 0, 255) myRgbRectangle.Fill = mySolidColorBrush
Rectangle myRgbRectangle = new Rectangle(); myRgbRectangle.Width = 50; myRgbRectangle.Height = 50; SolidColorBrush mySolidColorBrush = new SolidColorBrush(); // Describes the brush's color using RGB values. // Each value has a range of 0-255. mySolidColorBrush.Color = Color.FromArgb(255, 0, 0, 255); myRgbRectangle.Fill = mySolidColorBrush;
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008(서버 코어 역할은 지원되지 않음), Windows Server 2008 R2(서버 코어 역할은 SP1 이상에서 지원, Itanium은 지원되지 않음)
.NET Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.
