Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media3D / Generated / PointLightBase.cs / 1 / PointLightBase.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 PointLightBase : Light { #region Constructors //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #endregion Constructors //------------------------------------------------------ // // Public Methods // //----------------------------------------------------- #region Public Methods ////// Shadows inherited Clone() with a strongly typed /// version for convenience. /// public new PointLightBase Clone() { return (PointLightBase)base.Clone(); } ////// Shadows inherited CloneCurrentValue() with a strongly typed /// version for convenience. /// public new PointLightBase CloneCurrentValue() { return (PointLightBase)base.CloneCurrentValue(); } #endregion Public Methods //------------------------------------------------------ // // Public Properties // //------------------------------------------------------ private static void PositionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { PointLightBase target = ((PointLightBase) d); target.PropertyChanged(PositionProperty); } private static void RangePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { PointLightBase target = ((PointLightBase) d); target.PropertyChanged(RangeProperty); } private static void ConstantAttenuationPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { PointLightBase target = ((PointLightBase) d); target.PropertyChanged(ConstantAttenuationProperty); } private static void LinearAttenuationPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { PointLightBase target = ((PointLightBase) d); target.PropertyChanged(LinearAttenuationProperty); } private static void QuadraticAttenuationPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { PointLightBase target = ((PointLightBase) d); target.PropertyChanged(QuadraticAttenuationProperty); } #region Public Properties ////// Position - Point3D. Default value is new Point3D(). /// public Point3D Position { get { return (Point3D) GetValue(PositionProperty); } set { SetValueInternal(PositionProperty, value); } } ////// Range - double. Default value is Double.PositiveInfinity. /// public double Range { get { return (double) GetValue(RangeProperty); } set { SetValueInternal(RangeProperty, value); } } ////// ConstantAttenuation - double. Default value is 1.0. /// public double ConstantAttenuation { get { return (double) GetValue(ConstantAttenuationProperty); } set { SetValueInternal(ConstantAttenuationProperty, value); } } ////// LinearAttenuation - double. Default value is 0.0. /// public double LinearAttenuation { get { return (double) GetValue(LinearAttenuationProperty); } set { SetValueInternal(LinearAttenuationProperty, value); } } ////// QuadraticAttenuation - double. Default value is 0.0. /// public double QuadraticAttenuation { get { return (double) GetValue(QuadraticAttenuationProperty); } set { SetValueInternal(QuadraticAttenuationProperty, 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 PointLightBase.Position property. /// public static readonly DependencyProperty PositionProperty = RegisterProperty("Position", typeof(Point3D), typeof(PointLightBase), new Point3D(), new PropertyChangedCallback(PositionPropertyChanged), null, /* isIndependentlyAnimated = */ true, /* coerceValueCallback */ null); ////// The DependencyProperty for the PointLightBase.Range property. /// public static readonly DependencyProperty RangeProperty = RegisterProperty("Range", typeof(double), typeof(PointLightBase), Double.PositiveInfinity, new PropertyChangedCallback(RangePropertyChanged), null, /* isIndependentlyAnimated = */ true, /* coerceValueCallback */ null); ////// The DependencyProperty for the PointLightBase.ConstantAttenuation property. /// public static readonly DependencyProperty ConstantAttenuationProperty = RegisterProperty("ConstantAttenuation", typeof(double), typeof(PointLightBase), 1.0, new PropertyChangedCallback(ConstantAttenuationPropertyChanged), null, /* isIndependentlyAnimated = */ true, /* coerceValueCallback */ null); ////// The DependencyProperty for the PointLightBase.LinearAttenuation property. /// public static readonly DependencyProperty LinearAttenuationProperty = RegisterProperty("LinearAttenuation", typeof(double), typeof(PointLightBase), 0.0, new PropertyChangedCallback(LinearAttenuationPropertyChanged), null, /* isIndependentlyAnimated = */ true, /* coerceValueCallback */ null); ////// The DependencyProperty for the PointLightBase.QuadraticAttenuation property. /// public static readonly DependencyProperty QuadraticAttenuationProperty = RegisterProperty("QuadraticAttenuation", typeof(double), typeof(PointLightBase), 0.0, new PropertyChangedCallback(QuadraticAttenuationPropertyChanged), null, /* isIndependentlyAnimated = */ true, /* coerceValueCallback */ null); #endregion Dependency Properties //------------------------------------------------------ // // Internal Fields // //----------------------------------------------------- #region Internal Fields internal static Point3D s_Position = new Point3D(); internal const double c_Range = Double.PositiveInfinity; internal const double c_ConstantAttenuation = 1.0; internal const double c_LinearAttenuation = 0.0; internal const double c_QuadraticAttenuation = 0.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
- NativeMethods.cs
- AssertUtility.cs
- COAUTHINFO.cs
- DoubleAnimationUsingKeyFrames.cs
- _NegotiateClient.cs
- ToolBar.cs
- PeerEndPoint.cs
- Size3DConverter.cs
- PreDigestedSignedInfo.cs
- bindurihelper.cs
- GenerateTemporaryAssemblyTask.cs
- _KerberosClient.cs
- ReflectionTypeLoadException.cs
- Roles.cs
- NoneExcludedImageIndexConverter.cs
- DrawingState.cs
- ChildrenQuery.cs
- AutomationIdentifier.cs
- WebBrowsableAttribute.cs
- BookmarkWorkItem.cs
- EnumerableRowCollectionExtensions.cs
- webeventbuffer.cs
- Int64Converter.cs
- DynamicHyperLink.cs
- FlagsAttribute.cs
- CharacterString.cs
- XmlAnyElementAttributes.cs
- ValueOfAction.cs
- TabControlAutomationPeer.cs
- MaskInputRejectedEventArgs.cs
- InputLangChangeEvent.cs
- PerCallInstanceContextProvider.cs
- Attributes.cs
- FormatterServices.cs
- BookmarkManager.cs
- DataBoundControl.cs
- GroupBoxAutomationPeer.cs
- CodePrimitiveExpression.cs
- TCEAdapterGenerator.cs
- DataSourceSelectArguments.cs
- _AutoWebProxyScriptHelper.cs
- EditorZoneBase.cs
- RoutedUICommand.cs
- PopupControlService.cs
- WorkflowRuntime.cs
- SpellerStatusTable.cs
- ListBox.cs
- ReadOnlyHierarchicalDataSource.cs
- WebPartVerbsEventArgs.cs
- ScriptReferenceEventArgs.cs
- WindowsImpersonationContext.cs
- DrawingContextWalker.cs
- SelectionHighlightInfo.cs
- ObjectCloneHelper.cs
- XmlSchemas.cs
- PDBReader.cs
- RegularExpressionValidator.cs
- PropertyGrid.cs
- CacheEntry.cs
- DataSourceCache.cs
- mediaeventshelper.cs
- TimelineClockCollection.cs
- PolyQuadraticBezierSegment.cs
- ElementHost.cs
- EntityReference.cs
- WpfSharedXamlSchemaContext.cs
- SessionEndingCancelEventArgs.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- StubHelpers.cs
- DateTimeSerializationSection.cs
- DesignTableCollection.cs
- BackStopAuthenticationModule.cs
- CheckableControlBaseAdapter.cs
- ProgressBar.cs
- TemplateDefinition.cs
- EnumUnknown.cs
- ObjectStateEntryDbDataRecord.cs
- ASCIIEncoding.cs
- oledbmetadatacollectionnames.cs
- MsmqHostedTransportConfiguration.cs
- HtmlUtf8RawTextWriter.cs
- WebPartConnection.cs
- HttpApplicationStateWrapper.cs
- ServiceRouteHandler.cs
- CompatibleIComparer.cs
- HttpHandlerAction.cs
- TimeManager.cs
- CharConverter.cs
- PointUtil.cs
- WebPartEventArgs.cs
- LayoutEditorPart.cs
- EntityDataSourceDataSelectionPanel.cs
- compensatingcollection.cs
- ThreadStateException.cs
- AuthenticationException.cs
- XPathAncestorQuery.cs
- XmlSchemaAnnotation.cs
- PageRanges.cs
- SafeEventLogWriteHandle.cs
- AbsoluteQuery.cs