Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Effects / OuterGlowBitmapEffect.cs / 1407647 / OuterGlowBitmapEffect.cs
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2005 // // File: OuterGlowBitmapEffect.cs //----------------------------------------------------------------------------- using MS.Internal; using System; using System.IO; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Diagnostics; using System.Reflection; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Media; using System.Windows.Markup; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using MS.Internal.PresentationCore; using System.Security; namespace System.Windows.Media.Effects { ////// OuterGlowBitmapEffectPrimitive /// public sealed partial class OuterGlowBitmapEffect : BitmapEffect { ////// Constructor /// public OuterGlowBitmapEffect() { } ////// Creates the unmanaged effect handle /// ////// Critical - returns a security critical type SafeHandle. /// Safe - Always returns null. /// [SecuritySafeCritical] [Obsolete(MS.Internal.Media.VisualTreeUtils.BitmapEffectObsoleteMessage)] unsafe protected override SafeHandle CreateUnmanagedEffect() { return null; } ////// Update (propagetes) properties to the unmanaged effect /// ////// This method demands permission because effects should not be run /// in partial trust. /// /// SecurityCritical - because SetValue has a link demand /// SecutiryTreatAsSafe - because it demans UIWindow permission /// [SecurityCritical, SecurityTreatAsSafe] [Obsolete(MS.Internal.Media.VisualTreeUtils.BitmapEffectObsoleteMessage)] protected override void UpdateUnmanagedPropertyState(SafeHandle unmanagedEffect) { SecurityHelper.DemandUIWindowPermission(); } } } // 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
- EnumConverter.cs
- PowerStatus.cs
- CodeTypeReferenceCollection.cs
- VisualTreeUtils.cs
- TransformPattern.cs
- TraceHwndHost.cs
- StyleSheetComponentEditor.cs
- LoginUtil.cs
- DataServiceQueryProvider.cs
- ImpersonationContext.cs
- QilVisitor.cs
- ApplicationHost.cs
- _UriTypeConverter.cs
- WebServicesDescriptionAttribute.cs
- PathGradientBrush.cs
- DbProviderFactories.cs
- VectorValueSerializer.cs
- MenuRenderer.cs
- MsmqHostedTransportConfiguration.cs
- WebPermission.cs
- PostBackTrigger.cs
- PersonalizationProviderHelper.cs
- SQLInt64Storage.cs
- UrlMapping.cs
- DbMetaDataCollectionNames.cs
- XmlNavigatorStack.cs
- HandlerBase.cs
- TextProviderWrapper.cs
- BStrWrapper.cs
- SqlDataSourceStatusEventArgs.cs
- JavaScriptObjectDeserializer.cs
- FacetValueContainer.cs
- Hash.cs
- Table.cs
- QilValidationVisitor.cs
- RawStylusInputReport.cs
- XmlDomTextWriter.cs
- FormViewUpdatedEventArgs.cs
- OneOfElement.cs
- SqlWriter.cs
- BitmapFrameEncode.cs
- DynamicValueConverter.cs
- SoapReflectionImporter.cs
- ISAPIWorkerRequest.cs
- XslNumber.cs
- ShapingWorkspace.cs
- MulticastDelegate.cs
- ProgressPage.cs
- MetadataItemSerializer.cs
- QuerySettings.cs
- ListItemConverter.cs
- AssemblySettingAttributes.cs
- EventProvider.cs
- StatusStrip.cs
- SendOperation.cs
- ContentPosition.cs
- DeclaredTypeElementCollection.cs
- ChangeInterceptorAttribute.cs
- CodeTypeDelegate.cs
- GridViewColumnCollection.cs
- HttpValueCollection.cs
- Misc.cs
- DataGridViewDataErrorEventArgs.cs
- FileDialog.cs
- TypeConverterHelper.cs
- XmlElementList.cs
- DynamicPropertyHolder.cs
- SR.cs
- SerializationAttributes.cs
- ADRoleFactoryConfiguration.cs
- RepeatBehavior.cs
- HostedHttpRequestAsyncResult.cs
- DecimalAnimationUsingKeyFrames.cs
- SplitterEvent.cs
- PageAsyncTask.cs
- FieldAccessException.cs
- WebReferencesBuildProvider.cs
- Utilities.cs
- _ShellExpression.cs
- ArraySortHelper.cs
- CommonXSendMessage.cs
- TextTreeTextBlock.cs
- BufferedGraphicsManager.cs
- StylusEditingBehavior.cs
- HMACMD5.cs
- BaseEntityWrapper.cs
- HtmlWindowCollection.cs
- SoapSchemaMember.cs
- XmlSchemaSimpleTypeUnion.cs
- NameValuePair.cs
- RTLAwareMessageBox.cs
- shaperfactoryquerycachekey.cs
- EntityContainer.cs
- PropertySourceInfo.cs
- TreeNodeMouseHoverEvent.cs
- FederatedMessageSecurityOverHttpElement.cs
- Empty.cs
- DataGridViewTextBoxCell.cs
- WebReferencesBuildProvider.cs
- EdmValidator.cs