| Visual Basic (Declaration) | |
|---|---|
Public Property Distance As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public int Distance {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property int get_Distance(); public: __property void set_Distance( int value ); | |
| XAML Attributes Usage | |
|---|---|
<object Distance =int > | |
| Dependency Property Information | |
|---|---|
Identifier field | DistanceProperty |
Metadata properties set to true | None |
Return Value
Camera distance from the viewing screen, in pixels.For XAML example, refer to TunnelCommandBitmapEffect.
For C#/VB examples, refer to TunnelCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003
Copy Code