Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / TextEffect.cs / 1305600 / TextEffect.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2001 // // File: TextEffect.cs // // Contents: TextEffect class // // Created: 3/23/2004 garyyang // //----------------------------------------------------------------------- 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
- XmlBinaryReaderSession.cs
- BamlLocalizabilityResolver.cs
- DesignerCategoryAttribute.cs
- ToolStripButton.cs
- ImageMapEventArgs.cs
- DemultiplexingClientMessageFormatter.cs
- AttachedPropertyBrowsableAttribute.cs
- SafePEFileHandle.cs
- UInt32Storage.cs
- DataGridCellInfo.cs
- HostVisual.cs
- WrappedIUnknown.cs
- TransactionScope.cs
- FrameworkTemplate.cs
- EdmMember.cs
- ContentFileHelper.cs
- SqlConnectionStringBuilder.cs
- SystemTcpConnection.cs
- XmlSecureResolver.cs
- BaseCodePageEncoding.cs
- CroppedBitmap.cs
- WindowsFormsHelpers.cs
- Vector3DAnimationBase.cs
- TabControl.cs
- AssemblyResourceLoader.cs
- RegexMatchCollection.cs
- FontStretchConverter.cs
- ToggleButton.cs
- ShaderRenderModeValidation.cs
- Panel.cs
- Label.cs
- ExeContext.cs
- Token.cs
- SocketSettings.cs
- DataBindingCollection.cs
- StaticFileHandler.cs
- Command.cs
- CodeGroup.cs
- CodeExporter.cs
- ToolStripControlHost.cs
- OdbcReferenceCollection.cs
- ProjectionNode.cs
- DiscreteKeyFrames.cs
- CodeMethodReturnStatement.cs
- XmlSchemaRedefine.cs
- EditorPart.cs
- WebPartZoneBase.cs
- NativeCppClassAttribute.cs
- AnimatedTypeHelpers.cs
- StrokeSerializer.cs
- X509ThumbprintKeyIdentifierClause.cs
- WsdlEndpointConversionContext.cs
- InvalidChannelBindingException.cs
- ThreadSafeList.cs
- GenericIdentity.cs
- AnalyzedTree.cs
- ImportedPolicyConversionContext.cs
- SerializationEventsCache.cs
- MailWebEventProvider.cs
- TreeNodeCollection.cs
- TextEncodedRawTextWriter.cs
- XmlSchemaSimpleTypeUnion.cs
- FileDialogCustomPlace.cs
- ProjectedSlot.cs
- Brush.cs
- DisableDpiAwarenessAttribute.cs
- BuildResult.cs
- PointHitTestParameters.cs
- AttachedAnnotationChangedEventArgs.cs
- KeyedHashAlgorithm.cs
- TableItemPatternIdentifiers.cs
- login.cs
- CollectionMarkupSerializer.cs
- InternalBufferOverflowException.cs
- VisualStyleTypesAndProperties.cs
- AppSettingsReader.cs
- QueryOutputWriter.cs
- OleDbPermission.cs
- MailDefinition.cs
- DataExpression.cs
- dbdatarecord.cs
- LoadItemsEventArgs.cs
- CollectionsUtil.cs
- ObjectNotFoundException.cs
- Send.cs
- IntSecurity.cs
- CryptoKeySecurity.cs
- HScrollProperties.cs
- Geometry3D.cs
- Model3D.cs
- WinFormsUtils.cs
- WindowsIPAddress.cs
- XPathAncestorIterator.cs
- LeaseManager.cs
- WebDescriptionAttribute.cs
- CompensatableTransactionScopeActivityDesigner.cs
- ChameleonKey.cs
- InstanceValue.cs
- AccessDataSourceDesigner.cs
- BaseParaClient.cs