Layer

Returns a theme layer (the Layer object) the legend item describes. Returns Null if the item describes not a layer. The property supports read access only.