/// <summary> /// Get the display width for icons when using <paramref name="mode"/>. /// </summary> /// <param name="mode">The display mode to query the width for.</param> /// <returns>The display width for the selected mode.</returns> int GetListmodeItemWidth(FileDisplayMode mode) { return(_iconModeWidths[(int)mode]); }
/// <summary> /// Set the display width for icons when using <paramref name="mode"/>. /// </summary> /// <param name="mode">The display mode to set the width for.</param> /// <param name="width">The display width to use.</param> void SetListmodeItemWidth(FileDisplayMode mode, int width) { _iconModeWidths[(int)mode] = width; }