HexAdornmentLayerImpl Create(MetadataAndOrder<IAdornmentLayersMetadata> info) {
			var layer = new HexAdornmentLayerImpl(wpfHexView, layerKind, info);
			int index = GetInsertIndex(info);
			adornmentLayers.Insert(index, layer);
			Children.Insert(index, layer.VisualElement);
			return layer;
		}
示例#2
0
        HexAdornmentLayerImpl Create(MetadataAndOrder <IAdornmentLayersMetadata> info)
        {
            var layer = new HexAdornmentLayerImpl(wpfHexView, layerKind, info);
            int index = GetInsertIndex(info);

            adornmentLayers.Insert(index, layer);
            Children.Insert(index, layer.VisualElement);
            return(layer);
        }