Shape.AccessibleDescription 속성
내게 필요한 옵션 지원 클라이언트 응용 프로그램에서 사용 되는 컨트롤의 설명을 가져오거나 설정 합니다.
네임스페이스: Microsoft.VisualBasic.PowerPacks
어셈블리: Microsoft.VisualBasic.PowerPacks.Vs(Microsoft.VisualBasic.PowerPacks.Vs.dll)
구문
‘선언
<BrowsableAttribute(True)> _
Public Property AccessibleDescription As String
[BrowsableAttribute(true)]
public string AccessibleDescription { get; set; }
[BrowsableAttribute(true)]
public:
property String^ AccessibleDescription {
String^ get ();
void set (String^ value);
}
[<BrowsableAttribute(true)>]
member AccessibleDescription : string with get, set
function get AccessibleDescription () : String
function set AccessibleDescription (value : String)
속성 값
형식: System.String
A String 는 내게 필요한 옵션 지원 클라이언트 응용 프로그램에서 사용 되는 컨트롤의 설명을 포함 합니다.기본값은 null 참조(Visual Basic의 경우 Nothing)입니다.
설명
AccessibleDescription 속성에는 개체의 시각적 모양에 대 한 텍스트 설명을 제공 합니다.시각 장애인에 대 한, 보다 나은 컨텍스트를 제공 하기에 대 한 설명을 주로 사용 되지만 컨텍스트 검색 이나 기타 응용 프로그램에 사용할 수도 있습니다.
AccessibleDescription 속성 설명 명확 하지 않은 경우에 필요 없거나 중복 되는 경우에 따라는 AccessibleName 또는 AccessibleRole 개체입니다.예를 들어, 추가 정보를 표시 하는 텍스트를 "클릭" 여기에서 셰이프 필요 하지 않지만 선인장 그림이 표시 된 셰이프는.AccessibleName 및 AccessibleRole 선인장 셰이프에 대 한 속성의 목적은 설명할 것 이지만 AccessibleDescription 속성을 "선인장 그림이 표시 된 셰이프 등입니다."은 정보 통신 합니다
예제
다음 예제에서는 설정 하는 방법을 보여 줍니다.의 AccessibleName 및 AccessibleDescription 속성에 대 한는 OvalShape 컨트롤."선인장" 자원으로 프로젝트에서 라는 그림 파일을 추가 하는 것으로 가정 합니다.
Dim OvalShape1 As New OvalShape
Dim canvas As New ShapeContainer
' Set the form as the parent of the ShapeContainer.
canvas.Parent = Me
' Set the ShapeContainer as the parent of the OvalShape.
OvalShape1.Parent = canvas
' Assign an image resource to the BackgroundImage property.
OvalShape1.BackgroundImage = My.Resources.cactus
OvalShape1.Size = New Size(My.Resources.cactus.Size)
' Assign the AccessibleName and AccessibleDescription text.
OvalShape1.AccessibleName = "Image"
OvalShape1.AccessibleDescription = "A picture of a cactus"
OvalShape OvalShape1 = new OvalShape();
ShapeContainer canvas = new ShapeContainer();
// Set the form as the parent of the ShapeContainer.
canvas.Parent = this;
// Set the ShapeContainer as the parent of the OvalShape.
OvalShape1.Parent = canvas;
// Assign an image resource to the BackgroundImage property.
OvalShape1.BackgroundImage = VbPowerPacksShapeAccessibleCS.Properties.Resources.cactus;
OvalShape1.Size = new Size(VbPowerPacksShapeAccessibleCS.Properties.Resources.cactus.Height,
VbPowerPacksShapeAccessibleCS.Properties.Resources.cactus.Width);
// Assign the AccessibleName and AccessibleDescription text.
OvalShape1.AccessibleName = "Image";
OvalShape1.AccessibleDescription = "A picture of a cactus";
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.
참고 항목
참조
Microsoft.VisualBasic.PowerPacks 네임스페이스
기타 리소스
방법: LineShape 컨트롤로 선 그리기(Visual Studio)
방법: OvalShape 및 RectangleShape 컨트롤을 사용하여 도형 그리기(Visual Studio)