Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media3D / Generated / ProjectionCamera.cs / 1 / ProjectionCamera.cs
//----------------------------------------------------------------------------
//
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//
// This file was generated, please do not edit it directly.
//
// Please see [....]/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information.
//
//---------------------------------------------------------------------------
using MS.Internal;
using MS.Internal.Collections;
using MS.Internal.PresentationCore;
using MS.Utility;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Design.Serialization;
using System.Diagnostics;
using System.Globalization;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Markup;
using System.Windows.Media.Media3D.Converters;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Composition;
using System.Security;
using System.Security.Permissions;
using SR=MS.Internal.PresentationCore.SR;
using SRID=MS.Internal.PresentationCore.SRID;
using System.Windows.Media.Imaging;
// These types are aliased to match the unamanaged names used in interop
using BOOL = System.UInt32;
using WORD = System.UInt16;
using Float = System.Single;
namespace System.Windows.Media.Media3D
{
abstract partial class ProjectionCamera : Camera
{
#region Constructors
//-----------------------------------------------------
//
// Constructors
//
//-----------------------------------------------------
#endregion Constructors
//------------------------------------------------------
//
// Public Methods
//
//-----------------------------------------------------
#region Public Methods
///
/// Shadows inherited Clone() with a strongly typed
/// version for convenience.
///
public new ProjectionCamera Clone()
{
return (ProjectionCamera)base.Clone();
}
///
/// Shadows inherited CloneCurrentValue() with a strongly typed
/// version for convenience.
///
public new ProjectionCamera CloneCurrentValue()
{
return (ProjectionCamera)base.CloneCurrentValue();
}
#endregion Public Methods
//------------------------------------------------------
//
// Public Properties
//
//------------------------------------------------------
private static void NearPlaneDistancePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
ProjectionCamera target = ((ProjectionCamera) d);
target.PropertyChanged(NearPlaneDistanceProperty);
}
private static void FarPlaneDistancePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
ProjectionCamera target = ((ProjectionCamera) d);
target.PropertyChanged(FarPlaneDistanceProperty);
}
private static void PositionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
ProjectionCamera target = ((ProjectionCamera) d);
target.PropertyChanged(PositionProperty);
}
private static void LookDirectionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
ProjectionCamera target = ((ProjectionCamera) d);
target.PropertyChanged(LookDirectionProperty);
}
private static void UpDirectionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
ProjectionCamera target = ((ProjectionCamera) d);
target.PropertyChanged(UpDirectionProperty);
}
#region Public Properties
///
/// NearPlaneDistance - double. Default value is (double)0.125.
///
public double NearPlaneDistance
{
get
{
return (double) GetValue(NearPlaneDistanceProperty);
}
set
{
SetValueInternal(NearPlaneDistanceProperty, value);
}
}
///
/// FarPlaneDistance - double. Default value is (double)Double.PositiveInfinity.
///
public double FarPlaneDistance
{
get
{
return (double) GetValue(FarPlaneDistanceProperty);
}
set
{
SetValueInternal(FarPlaneDistanceProperty, value);
}
}
///
/// Position - Point3D. Default value is new Point3D().
///
public Point3D Position
{
get
{
return (Point3D) GetValue(PositionProperty);
}
set
{
SetValueInternal(PositionProperty, value);
}
}
///
/// LookDirection - Vector3D. Default value is new Vector3D(0,0,-1).
///
public Vector3D LookDirection
{
get
{
return (Vector3D) GetValue(LookDirectionProperty);
}
set
{
SetValueInternal(LookDirectionProperty, value);
}
}
///
/// UpDirection - Vector3D. Default value is new Vector3D(0,1,0).
///
public Vector3D UpDirection
{
get
{
return (Vector3D) GetValue(UpDirectionProperty);
}
set
{
SetValueInternal(UpDirectionProperty, value);
}
}
#endregion Public Properties
//-----------------------------------------------------
//
// Protected Methods
//
//------------------------------------------------------
#region Protected Methods
#endregion ProtectedMethods
//-----------------------------------------------------
//
// Internal Methods
//
//-----------------------------------------------------
#region Internal Methods
#endregion Internal Methods
//-----------------------------------------------------
//
// Internal Properties
//
//------------------------------------------------------
#region Internal Properties
#endregion Internal Properties
//-----------------------------------------------------
//
// Dependency Properties
//
//------------------------------------------------------
#region Dependency Properties
///
/// The DependencyProperty for the ProjectionCamera.NearPlaneDistance property.
///
public static readonly DependencyProperty NearPlaneDistanceProperty
= RegisterProperty("NearPlaneDistance",
typeof(double),
typeof(ProjectionCamera),
(double)0.125,
new PropertyChangedCallback(NearPlaneDistancePropertyChanged),
null,
/* isIndependentlyAnimated = */ true,
/* coerceValueCallback */ null);
///
/// The DependencyProperty for the ProjectionCamera.FarPlaneDistance property.
///
public static readonly DependencyProperty FarPlaneDistanceProperty
= RegisterProperty("FarPlaneDistance",
typeof(double),
typeof(ProjectionCamera),
(double)Double.PositiveInfinity,
new PropertyChangedCallback(FarPlaneDistancePropertyChanged),
null,
/* isIndependentlyAnimated = */ true,
/* coerceValueCallback */ null);
///
/// The DependencyProperty for the ProjectionCamera.Position property.
///
public static readonly DependencyProperty PositionProperty
= RegisterProperty("Position",
typeof(Point3D),
typeof(ProjectionCamera),
new Point3D(),
new PropertyChangedCallback(PositionPropertyChanged),
null,
/* isIndependentlyAnimated = */ true,
/* coerceValueCallback */ null);
///
/// The DependencyProperty for the ProjectionCamera.LookDirection property.
///
public static readonly DependencyProperty LookDirectionProperty
= RegisterProperty("LookDirection",
typeof(Vector3D),
typeof(ProjectionCamera),
new Vector3D(0,0,-1),
new PropertyChangedCallback(LookDirectionPropertyChanged),
null,
/* isIndependentlyAnimated = */ true,
/* coerceValueCallback */ null);
///
/// The DependencyProperty for the ProjectionCamera.UpDirection property.
///
public static readonly DependencyProperty UpDirectionProperty
= RegisterProperty("UpDirection",
typeof(Vector3D),
typeof(ProjectionCamera),
new Vector3D(0,1,0),
new PropertyChangedCallback(UpDirectionPropertyChanged),
null,
/* isIndependentlyAnimated = */ true,
/* coerceValueCallback */ null);
#endregion Dependency Properties
//------------------------------------------------------
//
// Internal Fields
//
//-----------------------------------------------------
#region Internal Fields
internal const double c_NearPlaneDistance = (double)0.125;
internal const double c_FarPlaneDistance = (double)Double.PositiveInfinity;
internal static Point3D s_Position = new Point3D();
internal static Vector3D s_LookDirection = new Vector3D(0,0,-1);
internal static Vector3D s_UpDirection = new Vector3D(0,1,0);
#endregion Internal Fields
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PackWebRequest.cs
- InlineUIContainer.cs
- Visitor.cs
- CodeTypeReferenceCollection.cs
- GetWinFXPath.cs
- CodeDelegateInvokeExpression.cs
- HiddenFieldPageStatePersister.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- MessageEncoderFactory.cs
- OperationAbortedException.cs
- TypeConverter.cs
- UrlMappingsSection.cs
- BatchStream.cs
- BinaryMethodMessage.cs
- MergeLocalizationDirectives.cs
- ManipulationCompletedEventArgs.cs
- PointCollectionValueSerializer.cs
- CodeNamespaceImportCollection.cs
- LayoutSettings.cs
- RawStylusInputReport.cs
- TriggerActionCollection.cs
- FlowDocumentReaderAutomationPeer.cs
- RequestCachePolicyConverter.cs
- HostingEnvironment.cs
- DefaultValueAttribute.cs
- Screen.cs
- URIFormatException.cs
- ArraySortHelper.cs
- CompilationPass2Task.cs
- PartManifestEntry.cs
- NavigationPropertyEmitter.cs
- CellTreeNodeVisitors.cs
- TextSpan.cs
- IgnoreDeviceFilterElementCollection.cs
- BamlTreeMap.cs
- ServiceDescriptionImporter.cs
- EdmSchemaAttribute.cs
- SafeNativeMethods.cs
- ProviderManager.cs
- printdlgexmarshaler.cs
- ClientSession.cs
- DataBindingHandlerAttribute.cs
- SortedList.cs
- RemoteWebConfigurationHost.cs
- FilterElement.cs
- ServerProtocol.cs
- TransactionBridgeSection.cs
- RequestStatusBarUpdateEventArgs.cs
- MachineSettingsSection.cs
- EmptyCollection.cs
- VirtualDirectoryMapping.cs
- LinkedResource.cs
- TypedTableBaseExtensions.cs
- NameSpaceExtractor.cs
- ScriptModule.cs
- OracleDateTime.cs
- ReversePositionQuery.cs
- ImageAnimator.cs
- WebPartUtil.cs
- VBIdentifierName.cs
- CookielessData.cs
- SHA1CryptoServiceProvider.cs
- CustomValidator.cs
- AnnotationComponentChooser.cs
- TextRangeSerialization.cs
- Component.cs
- HttpListenerTimeoutManager.cs
- ToolStripTextBox.cs
- CodeArrayCreateExpression.cs
- DirectoryLocalQuery.cs
- StandardCommands.cs
- PrintingPermissionAttribute.cs
- CheckBoxList.cs
- DateTimePickerDesigner.cs
- WebColorConverter.cs
- WebEventTraceProvider.cs
- DataGridViewCellValidatingEventArgs.cs
- DefaultAsyncDataDispatcher.cs
- WebPartConnectionsCancelEventArgs.cs
- safelinkcollection.cs
- GlobalItem.cs
- MimeXmlImporter.cs
- TextComposition.cs
- CorrelationQuery.cs
- WindowShowOrOpenTracker.cs
- CriticalFinalizerObject.cs
- SafeArrayRankMismatchException.cs
- DbConnectionPoolGroup.cs
- WindowsListView.cs
- SchemaTableOptionalColumn.cs
- HtmlShimManager.cs
- UrlAuthFailedErrorFormatter.cs
- DesignerVerbCollection.cs
- PageParser.cs
- LambdaCompiler.cs
- RegexStringValidatorAttribute.cs
- Object.cs
- X509ScopedServiceCertificateElementCollection.cs
- SafeTimerHandle.cs
- ConfigViewGenerator.cs