This document is archived and information here might be outdated.  Recommended version.


IStyleGalleryItem Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IStyleGalleryItem Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Display)  

IStyleGalleryItem Interface

Provides access to members that define items in the Style Gallery.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Symbols and map elements are stored in the Style Gallery. Each symbol or map element has a unique ID that can be read from the item within the style gallery. A Name and Category are also properties of the items within the style gallery. These two fields, along with the Item itself, can be updated and changed as necessary.

Members

Name Description
Read/write property Category The category of the item.
Read-only property ID Id for the item in the Style Gallery.
Read/write property Item The symbol or map element to be stored in the Style Gallery item.
Read/write property Name The name of the item in the Style Gallery.

CoClasses that implement IStyleGalleryItem

CoClasses and Classes Description
ServerStyleGalleryItem An item in the Server Style Gallery.
StyleGalleryItem (esriFramework) An item in the Style Gallery.

See Also

IStyleGallery Interface | IStyleGalleryStorage Interface

.NET Samples

Modify the appearance of the PageLayoutControl's page (Code Files: PageAppearance) | Custom Root Object (Style Gallery) (Code Files: clsGxStyleGalleryClass clsGxStyleGalleryItem) | Change layer rendering using the SymbologyControl (Code Files: LayerRendering SymbolForm) | Control text symbols using the SymbologyControl (Code Files: SymbolForm TextSymbols) | Move a graphic along a path in ArcMap (Code Files: MapGraphicTrackExtension) | Creating a toolbar of globe tools (Code Files: StyleElement StyleGalleryForm StyleGallerySelection StyleTool) | Implementing a property page for an ArcGIS Engine application (Code Files: SymbolSelectorPropPage) | Retrieve a color ramp from the SymbologyControl (Code Files: SymbolForm) | Add map surrounds using the SymbologyControl (Code Files: NorthArrows ScaleBars ScaleText SymbolForm) | Update a frame's background, border, and shadow using the SymbologyControl (Code Files: FrameProperties) | Controls commands environment (Code Files: CommandsEnvironment) | Update a legend format with SymbologyControl area and line patches (Code Files: AreaLinePatches SymbolForm)

.NET Related Topics

DisplayUI | Using the SymbologyControl