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

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.

.NET Samples

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

.NET Related Topics

DisplayUI | Using the SymbologyControl |