Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / controlskin.cs / 1 / controlskin.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Reflection; using System.Security.Permissions; namespace System.Web.UI { [EditorBrowsable(EditorBrowsableState.Advanced)] public delegate System.Web.UI.Control ControlSkinDelegate(Control control); [EditorBrowsable(EditorBrowsableState.Advanced)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ControlSkin { private Type _controlType; private ControlSkinDelegate _controlSkinDelegate; public ControlSkin(Type controlType, ControlSkinDelegate themeDelegate) { _controlType = controlType; _controlSkinDelegate = themeDelegate; } public Type ControlType { get { return _controlType; } } public void ApplySkin(Control control) { _controlSkinDelegate(control); } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ImportContext.cs
- TableLayoutPanelResizeGlyph.cs
- UnknownBitmapEncoder.cs
- SoapAttributes.cs
- OnOperation.cs
- InnerItemCollectionView.cs
- SafeRightsManagementSessionHandle.cs
- ProxyAttribute.cs
- PackageStore.cs
- EntityDataSourceState.cs
- EventWaitHandleSecurity.cs
- HwndHostAutomationPeer.cs
- PhoneCall.cs
- PathFigureCollectionConverter.cs
- GridItemPattern.cs
- DependencyPropertyKey.cs
- ControlPager.cs
- ParentQuery.cs
- PathFigureCollectionConverter.cs
- Int64KeyFrameCollection.cs
- ObjectDataProvider.cs
- NegotiateStream.cs
- Encoder.cs
- VisualTreeUtils.cs
- DeflateEmulationStream.cs
- DBParameter.cs
- CustomBinding.cs
- QualifiedCellIdBoolean.cs
- GridViewColumnCollection.cs
- EditorZoneAutoFormat.cs
- FileEnumerator.cs
- CodeTypeDelegate.cs
- mediaeventargs.cs
- _LocalDataStore.cs
- EntityDataSource.cs
- DataColumnMapping.cs
- ObjectCloneHelper.cs
- SqlGenericUtil.cs
- SafeMILHandle.cs
- RoleGroupCollection.cs
- MsmqBindingElementBase.cs
- ItemList.cs
- ExpressionLink.cs
- BinHexDecoder.cs
- DataSourceControl.cs
- AuditLog.cs
- SortQueryOperator.cs
- BaseCollection.cs
- SharedTcpTransportManager.cs
- XmlSchemaIdentityConstraint.cs
- StatusBarPanelClickEvent.cs
- StringOutput.cs
- FixedTextContainer.cs
- Win32Interop.cs
- SQLInt32.cs
- PieceNameHelper.cs
- Assembly.cs
- ResourceBinder.cs
- CacheMemory.cs
- TextEditorCopyPaste.cs
- InputScope.cs
- CompositeCollection.cs
- SymbolDocumentInfo.cs
- SecurityHelper.cs
- GridItem.cs
- XmlSchemaNotation.cs
- DeferredElementTreeState.cs
- XmlFormatWriterGenerator.cs
- Buffer.cs
- LinkedResourceCollection.cs
- CharConverter.cs
- RunInstallerAttribute.cs
- Stroke2.cs
- Int32AnimationUsingKeyFrames.cs
- JavaScriptSerializer.cs
- ReadOnlyCollectionBase.cs
- ButtonFieldBase.cs
- X509ChainElement.cs
- ErrorTableItemStyle.cs
- WebPartDisplayMode.cs
- SapiRecognizer.cs
- InteropDesigner.xaml.cs
- MemberAssignment.cs
- RequestBringIntoViewEventArgs.cs
- EventProviderWriter.cs
- MailBnfHelper.cs
- CellRelation.cs
- SafeNativeMethodsOther.cs
- BitmapCodecInfo.cs
- MenuItemStyle.cs
- Aggregates.cs
- DataGridViewComboBoxEditingControl.cs
- cryptoapiTransform.cs
- CompilationSection.cs
- DiscreteKeyFrames.cs
- SqlVisitor.cs
- SecurityPermission.cs
- CodeAttachEventStatement.cs
- UnmanagedBitmapWrapper.cs
- ColumnReorderedEventArgs.cs