Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / 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. //---------------------------------------------------------------------------- // // 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
- TrustManagerMoreInformation.cs
- XmlSchemaImport.cs
- CurrentChangingEventArgs.cs
- AvTraceFormat.cs
- ISCIIEncoding.cs
- Base64Encoding.cs
- UrlPath.cs
- LookupNode.cs
- BitmapInitialize.cs
- SqlCacheDependencyDatabaseCollection.cs
- StreamAsIStream.cs
- JoinSymbol.cs
- SolidColorBrush.cs
- BindingManagerDataErrorEventArgs.cs
- ItemMap.cs
- Fault.cs
- CommentEmitter.cs
- XmlTypeAttribute.cs
- While.cs
- Blend.cs
- StrongNameUtility.cs
- NameNode.cs
- ReachPageContentSerializer.cs
- StopStoryboard.cs
- Ref.cs
- ScriptComponentDescriptor.cs
- SqlClientFactory.cs
- CookieParameter.cs
- SspiSafeHandles.cs
- WebBrowserPermission.cs
- RootContext.cs
- Size3DConverter.cs
- ParameterRetriever.cs
- InternalPolicyElement.cs
- ISessionStateStore.cs
- BookmarkEventArgs.cs
- AdCreatedEventArgs.cs
- BitHelper.cs
- PreviewPageInfo.cs
- ScopeCollection.cs
- AutomationPeer.cs
- CasesDictionary.cs
- EncryptedType.cs
- AttachedAnnotationChangedEventArgs.cs
- HttpConfigurationContext.cs
- ContentHostHelper.cs
- Column.cs
- BlurBitmapEffect.cs
- EventManager.cs
- TemplateBamlTreeBuilder.cs
- FreezableDefaultValueFactory.cs
- EncodingDataItem.cs
- WindowsStartMenu.cs
- CalendarButton.cs
- EditorResources.cs
- GlyphsSerializer.cs
- WmlValidationSummaryAdapter.cs
- DocumentViewerHelper.cs
- ContextMenu.cs
- SemanticKeyElement.cs
- OdbcDataReader.cs
- SqlFlattener.cs
- XmlQueryRuntime.cs
- XPathNavigatorKeyComparer.cs
- XmlNamespaceMapping.cs
- DocumentViewerBase.cs
- StatusBarItem.cs
- DivideByZeroException.cs
- Win32MouseDevice.cs
- TableRow.cs
- ISO2022Encoding.cs
- WebPartEditorCancelVerb.cs
- WebPartVerbsEventArgs.cs
- LoginUtil.cs
- StringUtil.cs
- SqlRecordBuffer.cs
- DataObjectCopyingEventArgs.cs
- CookieProtection.cs
- HMACSHA256.cs
- AVElementHelper.cs
- EllipticalNodeOperations.cs
- _FtpControlStream.cs
- TTSVoice.cs
- EraserBehavior.cs
- TextDocumentView.cs
- ViewUtilities.cs
- Label.cs
- storepermission.cs
- AccessibilityApplicationManager.cs
- Trustee.cs
- SafeRightsManagementSessionHandle.cs
- XmlLanguageConverter.cs
- ValueUtilsSmi.cs
- DataListItemEventArgs.cs
- CodeArgumentReferenceExpression.cs
- MimeObjectFactory.cs
- DoubleCollectionValueSerializer.cs
- ProxyFragment.cs
- SoapHttpTransportImporter.cs
- BackStopAuthenticationModule.cs