Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / TextEffect.cs / 1 / TextEffect.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2001 // // File: TextEffect.cs // // Contents: TextEffect class // // Created: 3/23/2004 [....] // //----------------------------------------------------------------------- using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows; using System.Collections; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Markup; using System.ComponentModel; using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; namespace System.Windows.Media { ////// The class definition for TextEffect /// [Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)] public partial class TextEffect : Animatable { //---------------------------------------- // constructor //---------------------------------------- ////// Constructor to TextEffect /// /// transform of the text effect /// foreground of the text effect /// clip of the text effect /// starting character index of the text effect /// number of code points public TextEffect( Transform transform, Brush foreground, Geometry clip, int positionStart, int positionCount ) { if (positionCount < 0) { throw new ArgumentOutOfRangeException("positionCount", SR.Get(SRID.ParameterCannotBeNegative)); } Transform = transform; Foreground = foreground; Clip = clip; PositionStart = positionStart; PositionCount = positionCount; } ////// constructor /// public TextEffect() { } //------------------------------- // Private method //------------------------------- private static bool OnPositionStartChanging(int value) { return (value >= 0); } private static bool OnPositionCountChanging(int value) { return (value >= 0); } } } // 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
- ExceptionWrapper.cs
- ServerIdentity.cs
- DependencyProperty.cs
- _WebProxyDataBuilder.cs
- AstTree.cs
- Rotation3D.cs
- PropertyOrder.cs
- PathStreamGeometryContext.cs
- DbProviderSpecificTypePropertyAttribute.cs
- DbProviderFactories.cs
- RegisteredDisposeScript.cs
- SmtpCommands.cs
- ListViewSelectEventArgs.cs
- XamlToRtfParser.cs
- WebPartRestoreVerb.cs
- PeerObject.cs
- ProfilePropertyMetadata.cs
- SingleResultAttribute.cs
- EventHandlerList.cs
- DataAdapter.cs
- KnownTypesProvider.cs
- WebPartManagerDesigner.cs
- ColorAnimationUsingKeyFrames.cs
- SqlReorderer.cs
- ParallelEnumerableWrapper.cs
- DataGridViewComboBoxEditingControl.cs
- ContextMarshalException.cs
- Verify.cs
- UserNamePasswordClientCredential.cs
- WebCategoryAttribute.cs
- SecurityState.cs
- FragmentQueryProcessor.cs
- _DomainName.cs
- HtmlInputControl.cs
- SiteMapProvider.cs
- LiteralLink.cs
- SqlVersion.cs
- DiscoveryClientRequestChannel.cs
- DynamicDocumentPaginator.cs
- ShapeTypeface.cs
- PriorityQueue.cs
- ListViewGroupItemCollection.cs
- Latin1Encoding.cs
- GcSettings.cs
- SmtpFailedRecipientsException.cs
- GeometryCollection.cs
- TimeIntervalCollection.cs
- CultureInfoConverter.cs
- Italic.cs
- XslTransform.cs
- SQLDouble.cs
- FunctionUpdateCommand.cs
- QilFactory.cs
- DateTimeStorage.cs
- ChineseLunisolarCalendar.cs
- SelectionPattern.cs
- SystemThemeKey.cs
- XsltConvert.cs
- SynchronizationLockException.cs
- _CommandStream.cs
- COM2IDispatchConverter.cs
- WebPartCatalogAddVerb.cs
- StorageConditionPropertyMapping.cs
- StringAnimationBase.cs
- ContractUtils.cs
- EventInfo.cs
- Win32.cs
- Merger.cs
- SqlPersistenceProviderFactory.cs
- PeerToPeerException.cs
- AuthenticationModulesSection.cs
- NullableBoolConverter.cs
- EdmTypeAttribute.cs
- ToolStripPanelRow.cs
- PreservationFileReader.cs
- FactoryRecord.cs
- FaultDescriptionCollection.cs
- FlowLayoutPanelDesigner.cs
- TargetControlTypeAttribute.cs
- ToolStripSeparatorRenderEventArgs.cs
- SystemException.cs
- WindowProviderWrapper.cs
- FlowDocumentView.cs
- WindowsFont.cs
- XhtmlCssHandler.cs
- MeasurementDCInfo.cs
- OdbcFactory.cs
- X509Utils.cs
- BindingCollection.cs
- LayoutEngine.cs
- SqlCacheDependencyDatabaseCollection.cs
- AnimationClockResource.cs
- GeneralTransform2DTo3D.cs
- WebPartManagerInternals.cs
- COM2TypeInfoProcessor.cs
- TextServicesCompartmentContext.cs
- DragEvent.cs
- QueueException.cs
- FrameAutomationPeer.cs
- WebBrowserEvent.cs