File: Core\CSharp\System\Windows\Media\Effects\BitmapEffectGroup.cs
Project: wpf\src\PresentationCore.csproj (PresentationCore)
//------------------------------------------------------------------------------
//  Microsoft Avalon
//  Copyright (c) Microsoft Corporation, 2005
//
//  File:       BitmapEffectGroup.cs
//------------------------------------------------------------------------------
 
using System;
using System.Windows;
using System.Windows.Media;
using System.ComponentModel;
using System.ComponentModel.Design.Serialization;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
using MS.Internal;
using System.Windows.Media.Animation;
using System.Globalization;
using System.Text;
using System.Runtime.InteropServices;
using System.Windows.Markup;
using System.Windows.Media.Composition;
using System.Diagnostics;
using System.Security;
 
using SR=MS.Internal.PresentationCore.SR;
using SRID=MS.Internal.PresentationCore.SRID;
 
 
namespace System.Windows.Media.Effects
{
    /// <summary>
    /// The class defintion for BitmapEffectGroup
    /// </summary>
    [ContentProperty("Children")]
    public sealed partial class BitmapEffectGroup : BitmapEffect
    {
        /// <summary>
        /// 
        /// </summary>
        public BitmapEffectGroup()
        {
        }
        
        /// <summary>
        /// 1. Updates (propagates) the properties to the unmanaged handle of all
        /// the child effects
        /// 2. Sets up all the connections
        /// 3. Wraps the list with the aggregate effect
        /// </summary>
        /// <param name="unmanagedEffect">Unmanaged handle for aggregate effect</param>
        /// <SecurityNote>
        /// Critical - recieves a security critical type SafeHandle.
        /// Safe     - The method does nothing.
        /// </SecurityNote>
        [SecuritySafeCritical]
        [Obsolete(MS.Internal.Media.VisualTreeUtils.BitmapEffectObsoleteMessage)]
        protected override void UpdateUnmanagedPropertyState(SafeHandle unmanagedEffect)
        {
        }
        
        /// <summary>
        /// Create an unmanaged handle for the group effect
        /// </summary>
        /// <returns></returns>
        /// <SecurityNote>
        /// Critical - returns a security critical type SafeHandle.
        /// Safe     - Always returns null.
        /// </SecurityNote>
        [SecuritySafeCritical]
        [Obsolete(MS.Internal.Media.VisualTreeUtils.BitmapEffectObsoleteMessage)]
        protected override unsafe SafeHandle CreateUnmanagedEffect()
        {
            return null;
        }
    }
}