Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Documents / Italic.cs / 1 / Italic.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Italic element. // Xaml markup helper for indicating italicized content. // Equivalent to a Span with FontStyle property set to FontStyles.Italic. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Italic element - markup helper for indicating italicized content. /// Equivalent to a Span with FontStyle property set to FontStyles.Italic. /// Can contain other inline elements. /// public class Italic : Span { //------------------------------------------------------------------- // // Connstructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Italic() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Italic), new FrameworkPropertyMetadata(typeof(Italic))); } ////// Initilizes a new instance of a Italic element /// ////// To become fully functional this element requires at least one other Inline element /// as its child, typically Run with some text. /// In Xaml markup the Italic element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Italic() : base() { } ////// Initializes a new instance of Italic element and adds a given Inline element as its first child. /// /// /// Inline element added as an initial child to this Italic element /// public Italic(Inline childInline) : base(childInline) { } ////// Creates a new Italic instance. /// /// /// Optional child Inline for the new Italic. May be null. /// /// /// Optional position at which to insert the new Italic. May be null. /// public Italic(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Italic instance covering existing content. /// /// /// Start position of the new Italic. /// /// /// End position of the new Italic. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Italic(TextPointer start, TextPointer end) : base(start, end) { } #endregion Constructors } } // 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
- ColorConverter.cs
- DateTimeFormatInfoScanner.cs
- NamespaceEmitter.cs
- StringInfo.cs
- CodeCastExpression.cs
- DocumentSchemaValidator.cs
- SimpleApplicationHost.cs
- PersonalizableAttribute.cs
- OSFeature.cs
- AttachmentCollection.cs
- CommandTreeTypeHelper.cs
- PrinterSettings.cs
- PropertyGridEditorPart.cs
- IntSecurity.cs
- ToolStripEditorManager.cs
- RevocationPoint.cs
- XMLSchema.cs
- EventProviderWriter.cs
- FixedPageProcessor.cs
- EntityCodeGenerator.cs
- UInt64Storage.cs
- HyperlinkAutomationPeer.cs
- XmlBindingWorker.cs
- ColorConverter.cs
- BridgeDataRecord.cs
- CharKeyFrameCollection.cs
- XmlDesigner.cs
- FtpWebRequest.cs
- DataGridViewColumnCollection.cs
- TypeInformation.cs
- LocalFileSettingsProvider.cs
- DbParameterCollectionHelper.cs
- CollectionsUtil.cs
- BitArray.cs
- XPathNodePointer.cs
- SoapException.cs
- itemelement.cs
- PropertyCondition.cs
- SmtpNegotiateAuthenticationModule.cs
- UseAttributeSetsAction.cs
- XmlDataSourceNodeDescriptor.cs
- Viewport3DAutomationPeer.cs
- CollectionBuilder.cs
- XmlHierarchicalEnumerable.cs
- HttpRequestTraceRecord.cs
- AndCondition.cs
- SamlAuthenticationClaimResource.cs
- SupportsPreviewControlAttribute.cs
- AppDomainProtocolHandler.cs
- MachineKeySection.cs
- DefaultObjectMappingItemCollection.cs
- WindowsUpDown.cs
- AppSettingsSection.cs
- HighlightVisual.cs
- ReflectionUtil.cs
- LiteralLink.cs
- CfgParser.cs
- OleDbParameter.cs
- ScrollEvent.cs
- ColumnWidthChangedEvent.cs
- TextProperties.cs
- DataSetMappper.cs
- HMACSHA512.cs
- Random.cs
- JavaScriptString.cs
- ContentPlaceHolderDesigner.cs
- CharAnimationUsingKeyFrames.cs
- CompressedStack.cs
- SourceSwitch.cs
- DescendentsWalkerBase.cs
- SystemWebCachingSectionGroup.cs
- RecommendedAsConfigurableAttribute.cs
- ClientUrlResolverWrapper.cs
- SiteMapNodeItemEventArgs.cs
- WebPartMenu.cs
- StylusTip.cs
- ModelItemExtensions.cs
- DesignerProperties.cs
- ScrollItemProviderWrapper.cs
- TreeNodeMouseHoverEvent.cs
- FixedLineResult.cs
- SecurityTokenProvider.cs
- ExternalCalls.cs
- CapabilitiesUse.cs
- CodeCatchClauseCollection.cs
- ImagingCache.cs
- OrderedDictionary.cs
- QueryContinueDragEvent.cs
- CreationContext.cs
- PnrpPermission.cs
- hresults.cs
- ToolStripTemplateNode.cs
- AnimationLayer.cs
- DesignTimeVisibleAttribute.cs
- DataColumnMappingCollection.cs
- MachineSettingsSection.cs
- ItemsControl.cs
- CodeAssignStatement.cs
- Rect3DConverter.cs
- AppSettingsExpressionBuilder.cs